2021-06-23 04:11:56 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Frank container service
|
2023-08-17 16:47:09 +00:00
|
|
|
After=docker.service rohan-redis-tunnel.service
|
|
|
|
Wants=network-online.target docker.socket rohan-redis-tunnel.service
|
|
|
|
Requires=docker.socket rohan-redis-tunnel.service
|
|
|
|
PartOf=rohan-redis-tunnel.service
|
2021-06-23 04:11:56 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Restart=always
|
2023-08-17 16:47:09 +00:00
|
|
|
RestartSec=3
|
2021-06-23 04:11:56 +00:00
|
|
|
ExecStart=/usr/bin/docker start -a frank
|
|
|
|
ExecStop=/usr/bin/docker stop -t 10 frank
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|