Skip to content

Instantly share code, notes, and snippets.

@maxammann
Last active May 12, 2018 09:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxammann/a4665ff3138c87851ee23a1e9153bcff to your computer and use it in GitHub Desktop.
Save maxammann/a4665ff3138c87851ee23a1e9153bcff to your computer and use it in GitHub Desktop.
Unified Remote Server Systemd service
[Unit]
Description=Unified Remote Server
After=network.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/bash /opt/urserver/urserver-start --no-manager --no-copy
ExecStop=/bin/bash /opt/urserver/urserver-stop
Environment=DISPLAY=:0
[Install]
WantedBy=default.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment