2021-10-23 21:29:45 -04:00
|
|
|
[Unit]
|
|
|
|
Description=ntfy server
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
2021-12-08 22:08:44 -05:00
|
|
|
User=ntfy
|
|
|
|
Group=ntfy
|
2022-06-02 10:50:05 -04:00
|
|
|
ExecStart=/usr/bin/ntfy serve --no-log-dates
|
2022-06-01 16:57:35 -04:00
|
|
|
ExecReload=/bin/kill --signal HUP $MAINPID
|
2021-10-23 21:29:45 -04:00
|
|
|
Restart=on-failure
|
2021-12-08 22:08:44 -05:00
|
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
2021-12-06 16:43:06 -05:00
|
|
|
LimitNOFILE=10000
|
2021-10-23 21:29:45 -04:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|