14 lines
265 B
SYSTEMD
14 lines
265 B
SYSTEMD
|
[Unit]
|
||
|
Description=ntfy server
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=/usr/bin/ntfy sub --from-config
|
||
|
ExecReload=/bin/kill --signal HUP $MAINPID
|
||
|
Restart=on-failure
|
||
|
# AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||
|
# LimitNOFILE=10000
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=default.target
|