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