Open n00b12345 opened 6 years ago
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.
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) }
just use
screen peerflix-server
Or even a script? Forever fails when called from crontab.
Big fan of peerflix.