Skip to content
icenine9 edited this page Dec 7, 2015 · 16 revisions

Windows

Mac OS X

Linux (Ubuntu, possibly others)

  • Install meteor:

curl https://install.meteor.com/ | sh

  • Install 'git' if it is not installed already:

sudo apt-get install git

  • Choose a location to install, /opt for instance, and clone into a directory:

git clone /~https://github.com/lokenx/plexrequests-meteor plexrequests

This will clone the project files into /opt/plexrequests

  • If you won't be running plexrequests as root, and instead will be running it as the 'plex' id, change ownership of the directory:

chown -R plex:plex /opt/plexrequests

  • Change to the plexrequests directory and start meteor:

cd /opt/plexrequests

meteor

Plexrequests is easily run under systemd as a simple service under ubuntu and many other distributions:

  • Step 1:

Create the 'plexrequests.service' file in /etc/systemd/system and copy the following text into it: ` [Unit] Description=PlexRequest DaemonAfter=network.target

[Service] User=plex Type=simple WorkingDirectory=/opt/plexrequests ExecStart=/usr/local/bin/meteor KillMode=process Restart=always

[Install] WantedBy=multi-user.target

`

Notes:

  • You may wish to edit the 'User=' entry to reflect which user will be running this daemon.
  • The 'WorkingDirectory' entry should point to where you installed plexrequests.
  • If meteor isn't installed to /usr/local/bin by default, change this location as well. Try running 'which meteor' from a bash prompt to find out where your instance of meteor lives.

*After you have saved the plexrequests.service file, ensure any manually-started versions of plexrequests are killed/stopped, and enter the following commands:

sudo systemctl daemon-reload

sudo systemctl enable plexrequests.service

sudo systemctl start plexrequests.service

Clone this wiki locally