-
Notifications
You must be signed in to change notification settings - Fork 136
systemd startup
Jake edited this page Jan 13, 2017
·
1 revision
Create the following service file and modify relevant parameters.
/lib/systemd/system/plexrequests.service
[Unit]
Description=PlexRequest
After=network.target
[Service]
Environment=ROOT_URL=http://127.0.0.1:3030/requests
User=usenet
Type=simple
WorkingDirectory=/opt/plexrequests
ExecStart=/usr/local/bin/meteor
KillMode=process
Restart=always
[Install]
WantedBy=multi-user.target
Once you have created the service file run
systemctl enable plexrequests.service systemctl start plexrequests.service
You should now have an auto start PlexRequests App that is accessible from http://your ip:3030/requests. Check out the NGINX reverse proxy to remove the port.