unitas/app-misc/screenservice/files/screen.service

14 lines
273 B
SYSTEMD
Raw Normal View History

2016-12-05 16:17:25 +01:00
[Unit]
Description=screen
After=network.target
[Service]
2016-12-06 14:47:01 +01:00
Environment="TERM=rxvt" "SHELL=/bin/bash"
2016-12-05 16:17:25 +01:00
Type=simple
User=root
ExecStart=/usr/bin/screen -U -D -m -c /etc/screen.d/screen-%i -S %i -t %i
ExecStop=/usr/bin/screen -S %i -X quit
[Install]
WantedBy=multi-user.target