Created
April 24, 2016 21:07
-
-
Save woohooyeah/0f1b42346c4342c7ca70a3876269ab5d 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=Anope IRC services | |
After=syslog.target network-online.target | |
[Service] | |
Type=oneshot | |
RemainAfterExit=yes | |
ExecStart=/bin/sh -c 'cd /home/anope/services/bin && ./anoperc start' | |
ExecReload=/bin/sh -c 'cd /home/anope/services/bin && ./anoperc rehash' | |
ExecRestart=/bin/sh -c 'cd /home/anope/services/bin && ./anoperc restart' | |
ExecStop=/bin/sh -c 'cd /home/anope/services/bin && ./anoperc 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