Jump to content

Can we add Restart=always to service file?


tymanthius

Recommended Posts

tymanthius

My config is just slightly unstable and Emby will sometimes stop (I'm assuming it's my fault, btw, no severe testing) but adding this line to the service file makes it so I don't notice.

However, I have to manually change it every time I update, so it would be appreciated if this could be added to the deb.

 

Or let me know why it's a bad idea.

Link to comment
Share on other sites

Hi, generally it's not a good practice. It's something that should only be used when needed. Can we look at the issue that you're having? Thanks.

Link to comment
Share on other sites

Q-Droid

Since @Luke offered to help figure out the problem you should take him up on that.

If you still want to change the defaults and I'm guessing you want Restart=on-failure then use a systemd unit file override (drop-in) for the emby-server. The overrides don't change the installed unit files and are persistent across updates.

systemctl edit emby-server

Add the settings you want to change and save.

 

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...