Skip to content

Instantly share code, notes, and snippets.

@taksan
Created April 12, 2017 13:59
Show Gist options
  • Save taksan/4872aece92ab9e14eeb7db33dcba3e3b to your computer and use it in GitHub Desktop.
Save taksan/4872aece92ab9e14eeb7db33dcba3e3b to your computer and use it in GitHub Desktop.
[Unit]
Description=Taskboard service
Requires=docker.service
[Service]
Type=simple
User=root
ExecStart=/etc/init.d/taskboard-service start
ExecStop=/etc/init.d/taskboard-service stop
[Install]
WantedBy=multi-user.target
@taksan
Copy link
Author

taksan commented Apr 12, 2017

To load the services, reload the daemon:

systemctl daemon-reload

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment