14 lines
356 B
SYSTEMD
14 lines
356 B
SYSTEMD
|
[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
|