2019-03-16 22:01:18 -04:00
|
|
|
[Unit]
|
|
|
|
Description=Weechat IRC Client (in tmux)
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=pew
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
2019-03-17 13:48:39 -04:00
|
|
|
ExecStart=/usr/bin/tmux new-session -d -s irc /usr/bin/weechat
|
2019-03-16 22:01:18 -04:00
|
|
|
ExecStop=/usr/bin/tmux kill-session -t irc
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|