Last 3 server updates overwrite custom library path

Server Version#: 1.15.1.710
Player Version#:

Hello,

the last 3 updates caused the server not to re-start after installing from the .deb file. The reason was I have my library on a custom path. It used to work, without overwriting my custom settings. Now it seems I need to re-adjust the setting in the plexmediaserver.service systemd file on every update.
If I delete the symlink in /etc/systemd/system/multi-user.target.wants and replace it with my custom file (I think that’s the way it was, and supposed to be… long time since I set this, so don’t remember exactly.), on update process it gets deleted and replaced again with a symlink to /lib/systemd/system/.

Server is running linux mint 19.1 (tara).

Regards,

Fidelius

That’s absolutely not the correct way to customize any systemd service :slight_smile: Please use a systemd drop-in as disucssed in the following document.

Ok thank you - done that now.
Just notice, the way I did it before, I also got from plex support site, so that must have been updated, after I did my customization based on a plex tutorial :stuck_out_tongue_winking_eye:

Have a nice day!

Just noticed this post.

At no time was it ever stated to modify /lib/systemd/system/plexmediaserver.service

:stuck_out_tongue:

LOLOL

Glad it’s resolved!

nope, but I was talking about /etc/systemd/system/multi-user.target.wants/plexmediaserver.service

:tada:

anyhow, thanks for the new tut, and have a good one :slight_smile:

FYI.

/etc/systemd/system/multi-user.target.wants/plexmediaserver.service is a SYMLINK which is created by the statement systemctl enable plexmediaserver and links back to /lib/systemd/system/plexmediaserver.service.

It even tells you it created the link when you type systemctl enable plexmediaserver.service.
It tells you it’s removing the link when you say disable.

Try it. :smiley:
This is how systemd works!

In the future, please ask?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.