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
|
2021-12-17 02:33:01 +01:00
|
|
|
ExecStart=/usr/bin/ntfy serve
|
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
|