
Launch ManiaControl when I restart my VPS
Moderators: Wabbitface, Jocy, steeffeen, NADEO
Launch ManiaControl when I restart my VPS
Hi all, I want to launch ManiaControl when I restart my VPS, so how to do ? 

Re: Launch ManiaControl when I restart my VPS
you could do it via cron and the @reboot atribute
Client:
OS: Win10/Debian CPU: Intel 9900k GPU: NVIDIA 1080TI Display: 3x Acer Predator XB271HUbmiprz 1440p@165 Hz
Server:
OS: Debian Stable @ Backports Kernel CPU: Intel 6700k RAM: 32 GB Storage: 2x 256 GB NVMe SSD@Raid 1
OS: Win10/Debian CPU: Intel 9900k GPU: NVIDIA 1080TI Display: 3x Acer Predator XB271HUbmiprz 1440p@165 Hz
Server:
OS: Debian Stable @ Backports Kernel CPU: Intel 6700k RAM: 32 GB Storage: 2x 256 GB NVMe SSD@Raid 1
Re: Launch ManiaControl when I restart my VPS
How do a cron ?
Re: Launch ManiaControl when I restart my VPS
you have to start the server before, so you could create a reboot.sh with
after that
after that it should open vim or nano or what ever editor is installed, than you navigate to the end of the file and put there
and after that it should start the server and maniacontrol after reboot
may some of the maniacontrol developers can help you more with it since everything that i wrote is theoretical because i don't use maniacontrol or somebody else who does reboot his server.
Code: Select all
#!/bin/sh
cd /path_to_maniaplanet_server
/path_to_maniaplanet_server/ManiaPlanetServer /game_settings=MatchSettings/eXpansion_autosave.txt /dedicated_cfg=dedicated_cfg.cfg /profilecpu
sleep 60
php /path_to_maniacontrol/ManiaControl.php
Code: Select all
crontab -e
Code: Select all
@reboot /path_to_your_createt_reboot.sh/reboot.sh
may some of the maniacontrol developers can help you more with it since everything that i wrote is theoretical because i don't use maniacontrol or somebody else who does reboot his server.
Client:
OS: Win10/Debian CPU: Intel 9900k GPU: NVIDIA 1080TI Display: 3x Acer Predator XB271HUbmiprz 1440p@165 Hz
Server:
OS: Debian Stable @ Backports Kernel CPU: Intel 6700k RAM: 32 GB Storage: 2x 256 GB NVMe SSD@Raid 1
OS: Win10/Debian CPU: Intel 9900k GPU: NVIDIA 1080TI Display: 3x Acer Predator XB271HUbmiprz 1440p@165 Hz
Server:
OS: Debian Stable @ Backports Kernel CPU: Intel 6700k RAM: 32 GB Storage: 2x 256 GB NVMe SSD@Raid 1
Re: Launch ManiaControl when I restart my VPS
OK, I try after ^^'
But I have found another soltuion.
Launch the server and the .sh who launch the server, he launchs MC too :/
But don't know if it work
But I have found another soltuion.
Launch the server and the .sh who launch the server, he launchs MC too :/
But don't know if it work
Who is online
Users browsing this forum: No registered users and 1 guest