Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@frozenminds
Created November 27, 2017 14:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frozenminds/416f5175690e7dc5e024a7feabcb10eb to your computer and use it in GitHub Desktop.
Save frozenminds/416f5175690e7dc5e024a7feabcb10eb to your computer and use it in GitHub Desktop.
Tideways SystemD service
[Unit]
Description=Tideways Daemon
Requires=network.target
[Service]
PIDFile=/var/run/tideways.pid
ExecStart=/usr/bin/tideways-daemon
User=tideways
Restart=on-failure
RestartSec=10
Type=simple
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=tideways-daemon
[Install]
WantedBy=multi-user.target
# Reload services
sudo systemctl daemon-reload
# Enable Tideways service
sudo systemctl enable tideways.service
# Start Tideways service
sudo systemctl start tideways.service
# Stop Tideways service
sudo systemctl stop tideways.service
# Check status of Tideways service
sudo systemctl status tideways.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment