Jump to content

How to keep the emby server stopped?


Go to solution Solved by Jdiesel,

Recommended Posts

Posted

Hello,

 

As in the title, I want the server not to start by default. and then start it manually when I need it.  (Version 3.2.26.0 / ubuntu 16.04/ mint 18.2)

 

Thank you.

Posted

Hi, with our packages this is default behavior.

Posted

Isn't there a way to stop it? I really don't want it running all the time. Most of the time that the computer is on, I wont be using it. 

Posted

Hi, have you tried clicking the "Shutdown" button on the front page of the emby server dashboard? That should do the trick.

  • Solution
Jdiesel
Posted

Running 

sudo systemctl disable emby-server.service

should prevent the systemd from running at startup. You can then run

sudo service emby-server start

to start the server manually. Any updates to Emby will likely re-enable the systemd.

  • Like 2
Posted

Thank you Jdisel, it does seems to work just fine. 

  • 5 months later...
Posted

Hi, with our packages this is default behavior.

 

Hi, have you tried clicking the "Shutdown" button on the front page of the emby server dashboard? That should do the trick.

Has this changed?  As I can't seem to get the server to shutdown and stay down after clicking "Shutdown" in the GUI.  It just starts back up again.

 

What is the best way to gracefully shutdown an EMBY service running on Ubuntu, for a reboot or maintenance?

Posted

It's because the service is configured as always restart - I've mentioned this to @@Luke 3/4 times now. The shutdown isn't going to work within Emby itself - systemd will start it back up again instantaneously.

 

You can copy the service to /etc/systemd/system, edit it and then systemctl daemon-reload - that'll override the behaviour and persist through updates.

  • Like 1
Posted

Actually we've already made some changes and it should be perfect with the next release, thanks.

  • Like 2
Posted

Actually we've already made some changes and it should be perfect with the next release, thanks.

Sweet, as long as we can bring it back up again easy enough.

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...