mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-12-23 02:02:33 +01:00
f74f1b718f
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`
15 lines
294 B
Desktop File
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
|