Skip to content

Instantly share code, notes, and snippets.

@gshimansky
Created April 5, 2019 18:46
Show Gist options
  • Save gshimansky/a6729df73a8dbb8c43d0166224efafed to your computer and use it in GitHub Desktop.
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
[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