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

14 lines
273 B
Desktop File

[Unit]
Description=screen
After=network.target
[Service]
Environment="TERM=rxvt" "SHELL=/bin/bash"
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