Skip to content

Instantly share code, notes, and snippets.

@WebFreak001
Created November 20, 2019 17:57
Show Gist options
  • Save WebFreak001/560721f88cf05cbac527bd86be4a6dc9 to your computer and use it in GitHub Desktop.
Save WebFreak001/560721f88cf05cbac527bd86be4a6dc9 to your computer and use it in GitHub Desktop.
SystemD service for simple web servers
[Unit]
Description=new.webfreak.org
After=network-online.target mongodb.service
[Service]
ExecStart=/srv/http/org.webfreak.new/webfreak.org-v3/webfreak-org-3 --vvv
Restart=always
WorkingDirectory=/srv/http/org.webfreak.new/webfreak.org-v3
User=http
Group=http
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment