zhijiandev 5 Posted March 4 Share Posted March 4 root@emby /var/lib cat /lib/systemd/system/emby-server2.service [Unit] Description=Emby Server is a personal media server with apps on just about every device After=network.target [Service] EnvironmentFile=/etc/emby-server2.conf WorkingDirectory=/opt/emby-server2 ExecStart=/opt/emby-server/bin/emby-server2 RestartForceExitStatus=3 User=root [Install] WantedBy=multi-user.target root@emby /var/lib cat /lib/systemd/system/emby-server.service [Unit] Description=Emby Server is a personal media server with apps on just about every device After=network.target [Service] EnvironmentFile=/etc/emby-server.conf WorkingDirectory=/opt/emby-server ExecStart=/opt/emby-server/bin/emby-server RestartForceExitStatus=3 User=root [Install] WantedBy=multi-user.target root@emby /var/lib cat /etc/emby-server2.conf # Path to your emby library (default: /var/lib/emby) https_proxy=http://192.168.2.54:7890 http_proxy=http://192.168.2.54:7890 all_proxy=socks5://192.168.2.54:7890 EMBY_DATA=/var/lib/emby2/ root@emby /var/lib I tried to modify the working directory of the configuration file and service file, but encountered an error when starting up for the second time. Mar 04 21:26:19 emby systemd[1]: Started Emby Server is a personal media server with apps on just about every device. Link to comment Share on other sites More sharing options...
Luke 37161 Posted March 4 Share Posted March 4 Hi there, how about one of them using Docker? 1 Link to comment Share on other sites More sharing options...
Luke 37161 Posted March 25 Share Posted March 25 @zhijiandev? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now