ShadowArch/EtcFiles/tmux.service

16 lines
321 B
SYSTEMD
Raw Permalink Normal View History

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