mirror of
https://github.com/roles-ansible/ansible_role_weechat.git
synced 2024-08-16 13:09:48 +02:00
12 lines
235 B
SYSTEMD
12 lines
235 B
SYSTEMD
|
[Unit]
|
||
|
Description=Weechat Chat Client
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
RemainAfterExit=yes
|
||
|
ExecStart=/usr/bin/tmux -2 new-session -d -s weechat /usr/bin/weechat
|
||
|
ExecStop=/usr/bin/tmux kill-session -t weechat
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=network.target
|