Skip to content

Instantly share code, notes, and snippets.

@jstarry
Created January 26, 2019 07:23
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 jstarry/95b9a84f732aac249cbdad14cf459af5 to your computer and use it in GitHub Desktop.
Save jstarry/95b9a84f732aac249cbdad14cf459af5 to your computer and use it in GitHub Desktop.
Convoy Service Unit - EBS
[Unit]
Description=Convoy Daemon
Before=docker.service
After=network.target
[Service]
User=root
ExecStartPre=/bin/rm /run/docker/plugins/convoy.sock
ExecStart=/usr/local/bin/convoy --socket=/run/docker/plugins/convoy.sock daemon --drivers ebs
Type=simple
Restart=always
KillMode=process
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment