Run as nobody instead of ntfy, which won't be created it ntfy isn't installed on this server.

This commit is contained in:
Brian Lee 2024-05-21 14:18:08 -07:00
parent 1bdb976435
commit 007a11615a

View File

@ -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