summaryrefslogtreecommitdiff
blob: c68178bcb1c58c9c5209bd719f96c23cdbf4b74b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/usr/sbin/start_pms	2019-08-08 01:07:58.239646635 +0200
+++ b/usr/sbin/start_pms	2019-08-08 01:09:39.828649755 +0200
@@ -20,6 +20,9 @@
 
 test -f /etc/default/plexmediaserver && . /etc/default/plexmediaserver
 
+# Activate python virtualenv
+. "${PLEX_MEDIA_SERVER_HOME}"/Resources/Python/bin/activate
+
 if [ ! -d "$PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR" ]
 then
   mkdir -p "$PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR"