1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-12-23 02:02:33 +01:00
ntfy/client/ntfy-client.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

12 lines
225 B
Desktop File

[Unit]
Description=ntfy client
After=network.target
[Service]
User=ntfy
Group=ntfy
ExecStart=/usr/local/bin/ntfy subscribe --config /etc/ntfy/client.yml --from-config
Restart=on-failure
[Install]
WantedBy=multi-user.target