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

13 lines
231 B
SYSTEMD
Raw Normal View History

2016-12-05 16:17:25 +01:00
[Unit]
Description=screen
After=network.target
[Service]
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