Hi, I orginally posted this in WebODM, but it is really more General, so I deleted that. I hope this isn’t against guidelines.
I have WebODM running on a Ubuntu 20.04 server, appears to work fine, I placed WebODM in /opt/webodm. When I try to set up systemctl to run docker, it fails. I went into the webodm-gunicorn.service file and updated the paths, as well as the nginx file, run the commands
systemctl enable /opt/webodm/service/webodm-gunicorn.service
systemctl enable /opt/webodm/service/webodm-nginx.service
and when I try to start them I get an error, redis.service not found.
user odm is in the docker group, and the entire directory/subs all files including hidden are owned odm:odm
I know I could just place ./webodm.sh start into rc.local, but I would really like to manage it through systemctl.
Are there other service files I need to change, or another service or something I need to add? I had this running on a dev server as a service, and the only thing I changed was the path from /webodm to /opt/webodm as far as I recall.
I have now also tried removing WebODM and putting it in /webodm, to no avail, I get the same error there as well.