- Thread starter
- #1
Here is how to automatically restart a crashed multics process with systemd. (tested on ubuntu & debian)
- create a new systemd service
- add the following content
- modify this line that matches your paths & bin & config name:
- once you’ve created the service, you need to reload the systemd daemons by issuing
- start the multics by issuing
- to ensure multics starts on boot, to do that, issue the following command
- to check multics is running by running the following command
If multics crashes it will start again automatically.
--
If you want to reboot a multics (service) than you can create a cron job
- add a cron job by editing crontab with following command
- let's say You want to restart multics at 3 AM every day, than add the following line:
or
or
- after editing and saving then you need to restart the crontab with:
That it's.
Now You have auto restart of multics proces after crash and reboot of multics at 3 AM at your VPS.
- create a new systemd service
- add the following content
- modify this line that matches your paths & bin & config name:
- once you’ve created the service, you need to reload the systemd daemons by issuing
- start the multics by issuing
- to ensure multics starts on boot, to do that, issue the following command
- to check multics is running by running the following command
If multics crashes it will start again automatically.
--
If you want to reboot a multics (service) than you can create a cron job
- add a cron job by editing crontab with following command
- let's say You want to restart multics at 3 AM every day, than add the following line:
or
or
- after editing and saving then you need to restart the crontab with:
That it's.
Now You have auto restart of multics proces after crash and reboot of multics at 3 AM at your VPS.