weechat service

master
Paul Walko 2019-03-16 22:01:18 -04:00
parent b9ef2d6a87
commit f2c5fb1b54
No known key found for this signature in database
GPG Key ID: C123D8B2B64B2169
1 changed files with 13 additions and 0 deletions

13
vps/weechat.service Normal file
View File

@ -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