Created
April 24, 2016 21:25
-
-
Save woohooyeah/827f7c2767f70a1d4203560655c88f9d to your computer and use it in GitHub Desktop.
This file contains 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=Denora IRC statistics | |
After=syslog.target network-online.target | |
[Service] | |
Type=oneshot | |
RemainAfterExit=yes | |
ExecStart=/bin/sh -c 'cd /home/anope/stats && ./denorarc start' | |
ExecReload=/bin/sh -c 'cd /home/anope/stats && ./denorarc rehash' | |
ExecRestart=/bin/sh -c 'cd /home/anope/stats && ./denorarc restart' | |
ExecStop=/bin/sh -c 'cd /home/anope/stats && ./denorarc stop' | |
User=anope | |
Group=anope | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment