Debian Init Script (rev2)
Moderator: Community Managers
- Blackstorm
- Retired
- Posts: 354
- Joined: Thu Sep 04, 2014 11:11 am
- Location: Paris, FRANCE
- Contact:
Debian Init Script (rev2)
Hi all,
I have done my Init Script for Debian (should work with Ubuntu too) :
You just have to edit the vgoemu_init file and change the variable "DAEMONDIR" to match your "vgemu-world" binary.
Script usage : /etc/init.d/vgoemu_init {start|stop|status|restart}
Don't forget to register the script (usefull after a server reboot : update-rc.d vgoemu_init defaults)
Just a little problem, for the moment the worldserver console is not available through the init_script ^^
I have done my Init Script for Debian (should work with Ubuntu too) :
You just have to edit the vgoemu_init file and change the variable "DAEMONDIR" to match your "vgemu-world" binary.
Script usage : /etc/init.d/vgoemu_init {start|stop|status|restart}
Don't forget to register the script (usefull after a server reboot : update-rc.d vgoemu_init defaults)
Just a little problem, for the moment the worldserver console is not available through the init_script ^^
- Attachments
-
- vgoemu_init.zip
- Debian_vgoemu_init_script_v1
- (1.24 KiB) Downloaded 445 times
Last edited by Blackstorm on Sun Dec 21, 2014 7:54 am, edited 1 time in total.
- Blackstorm
- Retired
- Posts: 354
- Joined: Thu Sep 04, 2014 11:11 am
- Location: Paris, FRANCE
- Contact:
Re: Debian Init Script (rev2)
New revision for the linux init script.
Should work with ubuntu and should work now correctly with the autorestart script.
Should work with ubuntu and should work now correctly with the autorestart script.
- Attachments
-
- vgoemu_init rev2.zip
- vgoemu_init rev2
- (1.26 KiB) Downloaded 438 times
Re: Debian Init Script (rev2)
I remember when running a quake 3 arena server the init script used 'screen' to "hook" to the server console. With a key combination one can switch between all the active screen sessions from a terminal.
- Blackstorm
- Retired
- Posts: 354
- Joined: Thu Sep 04, 2014 11:11 am
- Location: Paris, FRANCE
- Contact:
Re: Debian Init Script (rev2)
yes thanks for that i don't remembered the screen possiblity ^^
I will check for that to keep an access to the server's console if needed ^^
I will check for that to keep an access to the server's console if needed ^^