Skip to content

Instantly share code, notes, and snippets.

@indykish
Created June 26, 2015 08:36
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 indykish/c0b9a61da5c4653dd081 to your computer and use it in GitHub Desktop.
Save indykish/c0b9a61da5c4653dd081 to your computer and use it in GitHub Desktop.
snowflake.service
#Place the megam snowflake here /etc/systemd/system/snowflake.service
[Unit]
Description=Megam Snowflake
After=network.target
After=runlevel2.target
After=runlevel3.target
After=runlevel4.target
After=runlevel5.target
[Service]
ExecStart=/usr/share/megam/snowflake/bin/src/pysnowflake.py --host localhost --port 7609 0 1
ExecStopPost=rm -f /var/run/megam/snowflake/snowflake.pid
KillMode=mixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment