diff --git a/init/systemd.service b/init/systemd.service new file mode 100644 index 0000000..5567a99 --- /dev/null +++ b/init/systemd.service @@ -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 diff --git a/upstart/docker-volume-local-persist.conf b/init/upstart.conf similarity index 100% rename from upstart/docker-volume-local-persist.conf rename to init/upstart.conf