Skip to main content
All CollectionsVPS Hosting
Init Script Management
Init Script Management
Ieva avatar
Written by Ieva
Updated over a week ago

Init Script Management is an option for a VPS server that allows you to add your scripts, that will be executed automatically after OS installation. This function could save time when deploying multiple servers. It allows you to prepare scripts once and they will be done together with the installation task, without additional manual work from the administrator.

You can add the scripts by following these steps:

  1. Connect to your Clients Area account: https://billing.hostens.com/clientarea/

  2. Choose a VPS server;

  3. On the left menu, press “Init Script Management” option;

  4. Press “Add new init script”

  5. Upload your script code in the text area and save it.

That’s it, your script is uploaded and will be executed on the next OS installation task.

Here are a few things to know:

  • Scripts are executed with root/administrator rights, so you don’t need to add “sudo”.

  • Scripts accept the following syntax: Bash/SH, Perl, Python.

  • You can add multiple scripts.

  • Our system doesn’t check the syntax, so if the script is incorrect it will simply won't work.

A tutorial about OS installation is here: https://www.hostens.com/knowledgebase/install-reinstall-os/

Did this answer your question?