ShadowArch/EtcFiles/tmux.service

16 lines
321 B
Desktop File

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