1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_weechat.git synced 2024-08-16 13:09:48 +02:00
ansible_role_weechat/templates/weechat.service

13 lines
260 B
SYSTEMD
Raw Normal View History

2020-03-11 10:42:48 +01:00
[Unit]
Description=Weechat Chat Client
[Service]
2021-05-27 16:18:04 +02:00
User={{ weechat__user }}
2020-03-11 10:42:48 +01:00
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