2019-05-06 02:04:19 -05:00
|
|
|
[Unit]
|
|
|
|
Description=TMUX/Weechat Session for User %I
|
|
|
|
After=network.target shadow.service
|
|
|
|
|
|
|
|
[Service]
|
2021-01-16 13:25:17 -06:00
|
|
|
Environment=HOME=/home/%I
|
|
|
|
WorkingDirectory=/home/%I
|
2020-06-15 17:11:37 -05:00
|
|
|
ExecStart=/usr/bin/tmux new-session -d -s IRC "weechat"
|
2019-05-06 02:04:19 -05:00
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
KillMode=process
|
2020-06-15 17:11:37 -05:00
|
|
|
Restart=no
|
2019-05-06 02:04:19 -05:00
|
|
|
Type=oneshot
|
|
|
|
User=%I
|
|
|
|
Group=%I
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|