tanshu
8a243fe387
Also added the frank service and build frank script to the frank playbook so that new containers can be built on the device when ansible is not an option
14 lines
356 B
Desktop File
14 lines
356 B
Desktop File
[Unit]
|
|
Description=Frank container service
|
|
After=docker.service knox-redis-tunnel.service
|
|
Wants=network-online.target docker.socket knox-redis-tunnel.service
|
|
Requires=docker.socket knox-redis-tunnel.service
|
|
|
|
[Service]
|
|
Restart=always
|
|
ExecStart=/usr/bin/docker start -a frank
|
|
ExecStop=/usr/bin/docker stop -t 10 frank
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|