Skip to content

Instantly share code, notes, and snippets.

@garystafford
Created October 11, 2020 12:21
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 garystafford/010e06776254bd781716c1d3b8ee33ee to your computer and use it in GitHub Desktop.
Save garystafford/010e06776254bd781716c1d3b8ee33ee to your computer and use it in GitHub Desktop.
SERVICE=gtm_stack_mosquitto
sudo cp ${SERVICE}.service /etc/systemd/system/
sudo systemctl start ${SERVICE}.service
sudo systemctl enable ${SERVICE}.service
# check status
systemctl status ${SERVICE}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment