Run as nobody instead of ntfy, which won't be created it ntfy isn't installed on this server.
This commit is contained in:
parent
1bdb976435
commit
007a11615a
@ -4,9 +4,8 @@ After=network.target
|
|||||||
Wants=ntfy.service
|
Wants=ntfy.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=ntfy
|
User=nobody
|
||||||
Group=ntfy
|
|
||||||
ExecStart=/usr/local/bin/ntfy-alertmanager
|
ExecStart=/usr/local/bin/ntfy-alertmanager
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user