Management via Webmin
This KB explains how to configure webmin to provide players ability to start/stop/restart and check pzserver instance status.
All done via Webmin system and user created inside webmin.
Required files creation
Create the following file “ShowLogOptions” in folder webmin-log in pzserver home:
"/home/pzserver/webmin-log/PZserver_start" "PZstart"
"/home/pzserver/webmin-log/PZserver_stop" "PZstop"
"/home/pzserver/webmin-log/PZserver_status" "PZstatus"
"/home/pzserver/webmin-log/PZserver_speedtest" "Speedtest"This will be useful for admin to check the log of all commands. The webmin check module will create drop menu with content of the file above.
Webmin custom command modules
The goal is to create the following custom command module. Permissions will be assigned in next chapter.

PZServer start

PZServer stop

PZServer status

Speedtest

PZServer - Show log

PZServer - Reset log

Will remove all log file related in webmin-log

Use creation and module access configuration
Create pzplayers with defined password pzmonitoring in webmin > webmin users
Keep everything default and go to module tab → uncheck all except “Custom commands” in “Others”.
Click on it and select as following:

Configuration backup file
Last updated