bundlewrap/bundles/docker-engine/files/docker-wrapper.service

15 lines
320 B
SYSTEMD
Raw Permalink Normal View History

2024-10-26 14:25:54 +00:00
[Unit]
Description=docker-engine app ${name}
After=network.target
Requires=${' '.join(sorted(requires))}
[Service]
WorkingDirectory=/var/opt/docker-engine/${name}/
ExecStart=/opt/docker-engine/${name} start
ExecStop=/opt/docker-engine/${name} stop
Type=simple
RemainAfterExit=true
[Install]
WantedBy=multi-user.target