1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-12-23 02:02:33 +01:00
ntfy/server/ntfy.service
Allan f74f1b718f Use /usr/local/bin instead of /usr/bin
This commit makes the placement of binaries consistent on Linux.
ntfy currently recommends /usr/local/bin for amd64 Linux but not for arm Linux.

- replaced all instances of `/usr/bin/ntfy` with
`/usr/local/bin/ntfy`
- replaced two instances of `/usr/bin` with `/usr/local/bin`
    - in Dockerfile and Dockerfile-arm, the line is changed to `COPY ntfy /usr/local/bin`
2024-10-11 10:53:11 -04:00

15 lines
294 B
Desktop File

[Unit]
Description=ntfy server
After=network.target
[Service]
User=ntfy
Group=ntfy
ExecStart=/usr/local/bin/ntfy serve --no-log-dates
ExecReload=/bin/kill --signal HUP $MAINPID
Restart=on-failure
AmbientCapabilities=CAP_NET_BIND_SERVICE
LimitNOFILE=10000
[Install]
WantedBy=multi-user.target