2021-06-23 04:11:56 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Frank container service
|
2022-06-21 03:24:45 +00:00
|
|
|
After=docker.service beacon-redis-tunnel.service
|
|
|
|
Wants=network-online.target docker.socket beacon-redis-tunnel.service
|
|
|
|
Requires=docker.socket beacon-redis-tunnel.service
|
|
|
|
PartOf=beacon-redis-tunnel.service
|
2021-06-23 04:11:56 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Restart=always
|
|
|
|
ExecStart=/usr/bin/docker start -a frank
|
|
|
|
ExecStop=/usr/bin/docker stop -t 10 frank
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|