Skip to content

Instantly share code, notes, and snippets.

@wilbowma
Created March 19, 2014 14:13
Show Gist options
  • Save wilbowma/9642463 to your computer and use it in GitHub Desktop.
Save wilbowma/9642463 to your computer and use it in GitHub Desktop.
CS2500 handin units
[Unit]
Description=CS2500 Handin server
Requires=network.target xvfb.service
After=network.target
[Service]
Type=simple
Environment="DISPLAY=:99"
WorkingDirectory=/home/bluephoenix47/cs2500-server/cs2500-server
User=bluephoenix47
ExecStart=/usr/bin/racket -l handin-server
Restart=always
[Install]
WantedBy=multi-user.target
[Unit]
Description=Xvfb service
[Service]
Type=simple
ExecStart=/usr/bin/Xvfb :99
Restart=always
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment