ntfy/server/ntfy.service

16 lines
273 B
SYSTEMD
Raw Normal View History

[Unit]
Description=ntfy server
After=network.target
[Service]
User=ntfy
Group=ntfy
2021-12-17 04:33:01 +03:00
ExecStart=/usr/bin/ntfy serve
2022-06-01 23:57:35 +03:00
ExecReload=/bin/kill --signal HUP $MAINPID
Restart=on-failure
AmbientCapabilities=CAP_NET_BIND_SERVICE
2021-12-07 00:43:06 +03:00
LimitNOFILE=10000
[Install]
WantedBy=multi-user.target