[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