mirror of
https://github.com/ncarlier/webhookd.git
synced 2025-04-06 16:50:36 +00:00
chore: Update unit file.
This commit is contained in:
parent
ad4f4eae86
commit
68fa1d7883
|
@ -7,7 +7,11 @@ Requires=docker.service
|
|||
ExecStartPre=-/usr/bin/docker pull ncarlier/webhookd:latest
|
||||
ExecStartPre=-/usr/bin/docker kill %p
|
||||
ExecStartPre=-/usr/bin/docker rm %p
|
||||
ExecStart=/usr/bin/docker run --rm --name %p -v /var/run/docker.sock:/var/run/docker.sock -v /media/data/webhookd/deploy_rsa:/root/.ssh/id_rsa --env-file /media/data/webhookd/env.conf -P ncarlier/webhookd
|
||||
ExecStart=/usr/bin/docker run --rm --name %p \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
-v /media/data/webhookd/deploy_rsa:/root/.ssh/id_rsa \
|
||||
--env-file /media/data/webhookd/env.conf \
|
||||
-P ncarlier/webhookd
|
||||
ExecStop=/usr/bin/docker stop %p
|
||||
|
||||
[X-Fleet]
|
||||
|
|
Loading…
Reference in New Issue
Block a user