Last active
February 17, 2020 00:40
-
-
Save woohooyeah/e9c339098558d61da6ef551b9b08e745 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=InspIRCd IRC server | |
After=syslog.target network-online.target | |
[Service] | |
Type=oneshot | |
RemainAfterExit=yes | |
ExecStart=/bin/bash -c 'cd /home/ircuser/inspircd/run/bin && ./inspircd start' | |
ExecReload=/bin/bash -c 'cd /home/ircuser/inspircd/run/bin && ./inspircd rehash' | |
ExecRestart=/bin/bash -c 'cd /home/ircuser/inspircd/run/bin && ./inspircd restart' | |
ExecStop=/bin/bash -c 'cd /home/ircuser/inspircd/run/bin && ./inspircd stop' | |
User=ircuser | |
Group=ircuser | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment