Created
February 3, 2017 20:39
-
-
Save tioan/dd52c8193ed94938a34fda9518bbea7f 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
➜ ~ cat ~/.config/systemd/user/weechat.service | |
[Unit] | |
Description=Weechat IRC Client (in tmux) | |
[Service] | |
Type=oneshot | |
RemainAfterExit=yes | |
ExecStart=/usr/bin/tmux -2 new-session -d -s irc /usr/bin/weechat | |
ExecStop=/usr/bin/tmux kill-session -t irc | |
[Install] | |
WantedBy=default.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment