debian/ntfy-client.service
raw| 1 | [Unit] |
| 2 | Description=ntfy client |
| 3 | After=network.target |
| 4 | Documentation=man:ntfy(1) |
| 5 | |
| 6 | [Service] |
| 7 | User=_ntfy |
| 8 | Group=_ntfy |
| 9 | ExecStart=/usr/bin/ntfy subscribe --config /etc/ntfy/client.yml --from-config |
| 10 | Restart=on-failure |
| 11 | CapabilityBoundingSet= |
| 12 | |
| 13 | [Install] |
| 14 | WantedBy=multi-user.target |