ShadowArch/EtcFiles/tmux@.service

16 lines
292 B
Desktop File

[Unit]
Description=TMUX/Weechat Session for User %I
After=network.target shadow.service
[Service]
ExecStart=/usr/sbin/tmux new-session -d -c IRC weechat
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failed
Type=oneshot
User=%I
Group=%I
[Install]
WantedBy=multi-user.target