TomWhitwell / SlowMovie

MIT License
342 stars 67 forks source link

Issue with slowmovie.service #140

Closed MasonPi closed 1 year ago

MasonPi commented 1 year ago

When doing a fresh install from the automatic setup, I'm getting an error with the slowmovie.service

cp: cannot stat 'slowmovie.service': No such file or directory Failed to enable unit: Unit file slowmovie.service does not exist.

Is there any fix for this?

robweber commented 1 year ago

Looks like you found an error from when this was recently updated. The template file code from here should also be updated here.

Just "thinking out loud" the best solution would be to make a function for this so it isn't the same code scattered in two spots for future updates. I'll try and update the install file by the end of the weekend (unless someone else beats me to it!). In the meantime you should be able to run this via the command line from the SlowMovie directory to get the service working.

envsubst <slowmovie.service.template > slowmovie.service
sudo mv slowmovie.service /etc/systemd/system
sudo systemctl daemon-reload
sudo systemctl enable slowmovie