Installation updates and scripts
This commit is contained in:
15
EtcFiles/tmux.service
Normal file
15
EtcFiles/tmux.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[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
|
Reference in New Issue
Block a user