OpenDroneMap-WebODM/service/webodm-docker.service

18 wiersze
428 B
INI
Czysty Zwykły widok Historia

[Unit]
Description=Start WebODM OpenDroneMap Service Container
Requires=docker.service
After=docker.service
[Service]
Type=forking
User=odm
Group=odm
WorkingDirectory=/opt/WebODM
2021-10-05 05:56:08 +00:00
Environment=PATH=/home/odm/.local/bin:/usr/sbin:/usr/bin:/sbin:/bin
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