Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mini admin PHP without forever to start peerflix all time (you can launch multiple instances) #152

Open
Smax2k opened this issue Sep 9, 2018 · 3 comments

Comments

@Smax2k
Copy link

Smax2k commented Sep 9, 2018

Hello,

I love Peerflix-server but forever not working for me.

I create a mini admin with PHP, you need to install apache2 and php7.

fdgdgdf

In /var/www/html add this files :

mini-admin-peerflix-server.zip

  • index.php (you can define a rand port)
  • admin.php (Be very careful is not secure)
  • pkill.php (Be very careful is not secure)
  • list.txt (is a empty file, php save port and pid for kill the processus if you need)
@Smax2k
Copy link
Author

Smax2k commented Sep 9, 2018

You can use "screen" for run peerflix-server in background too.

@asapach
Copy link
Owner

asapach commented Sep 9, 2018

You could probably publish this as a project on GitHub rather than a zip file. Somebody might find it useful.

@Smax2k
Copy link
Author

Smax2k commented Sep 9, 2018

Yes ok, you can run multiple instances and ports (the port is check if it already exists), but that's work only with the default User / Group of apache2 (i have no test with nginx). I have tested with a custom user and group but is not working, i dont no why (when I click on the file i have an error).

@Smax2k Smax2k changed the title Mini admin PHP without forever to start peerflix all time Mini admin PHP without forever to start peerflix all time (multiple instances) Sep 9, 2018
@Smax2k Smax2k changed the title Mini admin PHP without forever to start peerflix all time (multiple instances) Mini admin PHP without forever to start peerflix all time (multiple instances possible) Sep 9, 2018
@Smax2k Smax2k changed the title Mini admin PHP without forever to start peerflix all time (multiple instances possible) Mini admin PHP without forever to start peerflix all time (you can launch multiple instances) Sep 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants