OpenDroneMap-WebODM/service/webodm-docker.service

16 wiersze
339 B
INI

[Unit]
Description=Start WebODM OpenDroneMap Service Container
Requires=docker.service
[Service]
Type=forking
User=odm
Group=odm
WorkingDirectory=/opt/WebODM
ExecStart=/bin/bash -c 'screen -dmS webodm /opt/WebODM/webodm.sh start'
ExecStop=/bin/bash -c '/opt/WebODM/webodm.sh stop'
Restart=on-failure
[Install]
WantedBy=multi-user.target