-
-
Save QWxleA/23ee2e911fc06ea0a5dfbe48bd2ce0ab to your computer and use it in GitHub Desktop.
SystemD user service for launching weechat in a screen on boot
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
# Save as ~/.config/systemd/user/weechat.service | |
# Remember that you need to allow background processes to keep running | |
# even when there are no interactive sessions: | |
# sudo loginctl enable-linger username | |
# And then: | |
# systemctl --user daemon-reload && systemctl --user --now enable weechat.service | |
[Unit] | |
Description=weechat session | |
After=bitlbee.service | |
[Service] | |
Type=forking | |
ExecStart=/usr/bin/screen -U -d -m -s /bin/bash -S weechat -T screen-256color /usr/bin/weechat | |
Restart=always | |
[Install] | |
WantedBy=default.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment