Skip to content

Instantly share code, notes, and snippets.

@nmarley
Created October 20, 2015 19:16
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 nmarley/3cb0843c08cde2f94692 to your computer and use it in GitHub Desktop.
Save nmarley/3cb0843c08cde2f94692 to your computer and use it in GitHub Desktop.
INCOMPLETE systemd dashd service script
[Unit]
Description=Dash server
After=syslog.target
After=network.target
[Service]
Type=forking
User=<dash user>
Group=<dash group>
ExecStart=<dash_path>/dashd
ExecStop=<dash_path>/dash-cli stop
PIDFile=<dash_user_home>/.dash/dashd.pid
TimeoutStartSec=60
TimeoutStopSec=30
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment