weechat service
parent
b9ef2d6a87
commit
f2c5fb1b54
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=Weechat IRC Client (in tmux)
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=pew
|
||||
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=multi-user.target
|
Loading…
Reference in New Issue