Created
January 28, 2017 11:12
-
-
Save rcguy/801d9a31959f4d2f4f6ed05802839749 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=irssi daemon | |
After=network.target | |
[Service] | |
Type=forking | |
User=%i | |
ExecStart=/usr/bin/screen -dmS autodl irssi | |
ExecStop=/usr/bin/screen -S autodl -X stuff '/quit\n' | |
WorkingDirectory=%h | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment