Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

systemctl startup script for ezserver 4.2 enterprise

alexw216

Extended Member
Ext. Member
Joined
Oct 16, 2019
Messages
41
Reaction score
283
Points
64
Location
USA
Hello,
The original eszserver 4.2 enterprise server did not offer a systemctl start up script. it only supports ./start.sh and ./monitor.sh.
Please see below of the systemctl startup script for ezserver 4.2 enterprise.




Please just create the above content name it as /etc/systemd/system/ezserver.service

then you can reload the daemon by "systemctl daemon-reload "

after that you can use "systemctl enable ezserver.service" to enable the ezserver from system start up.
and we can use "systemctl stop ezserver.service" to stop the ezserver service. and use "systemctl start ezserver.service" to start the service.

It is tested with the ezserver 4.2 enterprise hacked version from this forum. my installation directory is at /usr/local/ezserver_enterprise
if you did not install ezserver at /usr/local/ezserver_enterprise, you need to change it to your installed directory. please notice that checkmo.sh and monitor.sh also needs to be changed for EZSERVER_DIR environment variable to your installed directory. Please note that the default monitor.sh. has a timer of 180 seconds of cycle to check if ezserver process is running. If it is not running, the monitor.sh. will start the ezserver process. If you think 180 seconds are too long, you can adjust the timer to maybe 60 to 80 seconds by changing the timer in monitor.sh. just change 180 to the number of seconds you like.

Good Luck!
 
Last edited:
All done. many many thanks.
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top