add initial systemd service file for binder.
tested running by submitting to 3-machine coreos etcd cluster
This commit is contained in:
parent
4df47c24fa
commit
89fb79517e
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=Docker BIND Admin
|
||||
After=docker.service
|
||||
Requires=docker.service
|
||||
|
||||
[Service]
|
||||
TimeoutStartSec=20m
|
||||
ExecStartPre=-/usr/bin/docker kill binder-%i
|
||||
ExecStartPre=-/usr/bin/docker rm binder-%i
|
||||
ExecStartPre=/usr/bin/docker pull jforman/binder
|
||||
ExecStart=/usr/bin/docker run --rm --name binder-%i -p 8000:8000 jforman/binder
|
||||
ExecStop=/usr/bin/docker stop binder-%i
|
||||
|
||||
[X-Fleet]
|
||||
Conflicts=binder@*.service
|
Loading…
Reference in New Issue