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