Created
April 5, 2019 18:46
-
-
Save gshimansky/a6729df73a8dbb8c43d0166224efafed to your computer and use it in GitHub Desktop.
Systemd service file to start screen with irssi upon system boot. Use systemctl daemon-reload; systemctl enable irc.service; systemctl start irc.service
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=Start screen with irssi on startup | |
After=multi-user.target | |
[Service] | |
Type=idle | |
ExecStart=/bin/su -l -c "screen -S irc -d -m irssi" username | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment