Created
March 11, 2017 18:07
-
-
Save p365labs/99ed99873b6aca092d49ac9d4140da89 to your computer and use it in GitHub Desktop.
Uniqush Systemd script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=A unified push service for server-side notification to apps on mobile devices. | |
After=network.target | |
[Service] | |
PIDFile=/run/uniqush-push.pid | |
ExecStart=/usr/bin/uniqush-push -config=/etc/uniqush/uniqush-push.conf | |
ExecReload=/usr/bin/uniqush-push -config=/etc/uniqush/uniqush-push.conf | |
ExecStop=-/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/uniqush-push.pid | |
TimeoutStopSec=5 | |
KillMode=mixed | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment