ShadowArch/EtcFiles/tmux@.service

18 lines
338 B
Desktop File

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