Skip to content

Instantly share code, notes, and snippets.

@Eihen
Last active June 17, 2019 21:54
Show Gist options
  • Save Eihen/cc46449fb17aec7f92f51549882a655a to your computer and use it in GitHub Desktop.
Save Eihen/cc46449fb17aec7f92f51549882a655a to your computer and use it in GitHub Desktop.
[Unit]
Description=Screen Test
After=network.target
[Service]
Type=forking
User=root
Group=root
Restart=on-failure
RestartSec=3
ExecStart=/usr/bin/screen -L -dmS screen ping www.google.com.br
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment