peerflix-server icon indicating copy to clipboard operation
peerflix-server copied to clipboard

How can I start peerflix-server at startup using forever?

Open n00b12345 opened this issue 6 years ago • 3 comments

Or even a script? Forever fails when called from crontab.

Big fan of peerflix.

n00b12345 avatar Apr 10 '18 15:04 n00b12345

I haven't tried it in a while, but here's a config that worked for me a couple of years ago: https://github.com/asapach/peerflix-server/issues/10#issuecomment-61409423 Not sure if it will still work in the modern linux distros based on systemd.

asapach avatar Apr 10 '18 16:04 asapach

I would love to see an implementation of some config scripts for systemd and openrc. I tried an OpenRC version the other day but no go. It looked like this maybe someone could give me some help??

#!/usr/bin/openrc-run name="peerflix-server" start() { ebegin "Starting Peerflix Server" /usr/bin/forever start $(which peerflix-server) } stop() { ebegin "Stopping Peerflix Server" /usr/bin/forever stop $(which peerflix-server) }

TheNightmanCodeth avatar Oct 05 '18 03:10 TheNightmanCodeth

just use

screen peerflix-server

besoeasy avatar Nov 20 '19 13:11 besoeasy