Skip to content

Commit

Permalink
Add systemd init script and rename upstart's
Browse files Browse the repository at this point in the history
  • Loading branch information
CWSpear committed Feb 9, 2016
1 parent 722b2ad commit b903e46
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions init/systemd.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Unit]
Description=docker-volume-local-persist
After=docker.service
Requires=docker.service

[Service]
TimeoutStartSec=0
ExecStartPre=pkill docker-volume-local-persist
ExecStart=/usr/local/bin/docker-volume-local-persist

[Install]
WantedBy=multi-user.target
File renamed without changes.

0 comments on commit b903e46

Please sign in to comment.