Skip to content

Script checks another script has stopped and restart. - Script que verifica si otro script se detuvo y lo reinicia.

Notifications You must be signed in to change notification settings

weskerty/AlwaysRun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AlwaysRun

English Script checks another script has stopped.
Español Script que verifica si otro script se detuvo.

ALL.SH

English This script runs scripts in alphabetical order within the script folder, which is located in the same location as this script (all.sh). 1Redis.sh or ARedis.sh will be started first. To prevent a script from running, change the sh extension, for example, 1Redis.sh.off

Español Este script inicia scripts en orden alfabético dentro de la carpeta script que esta ubicada en el mismo lugar que este script (all.sh) Se iniciara primero 1Redis.sh o ARedis.sh. Para evitar que un script se ejecute cambie la extension sh, ejemplo 1Redis.sh.off

Warning

No Work on Windows. Reiniciara procesos infinitamente por que no puede localizar el script en ejecucion.

UPDATE.SH

English This option is optional and serves to update the system where the script is running. On Linux, it works with APT on Debian and derivatives (including Termux) or Pacman on Arch and Arch-based systems. If you're using Windows, it will update Winget and Chocolatey. After the update, launch ALL.SH on Linux or all.ps1 on Windows. assumed to be Root

Español Esta opción es opcional y sirve para actualizar el sistema donde se ejecuta el script. En Linux Funciona con APT en Debian y derivados (incluido Termux) o Pacman en Arch y sistemas basados en el. Si usas Windows Actualizara Winget y Chocolatey Después de la actualización, inicia ALL.SH en Linux o all.ps1 en Windows. Se asume que eres Root

SystemD

English This is a service for Linux systems with SystemD. It will automatically run the update.sh script when the PC is turned on (you can change it). It is placed in /etc/systemd/system/ and then activated with:

systemctl enable UpdateAll.service

You can view the service log with:

journalctl -u UpdateAll.service -f

In Windows you can create a Task with the "Task Scheduler" and set it to start when the PC starts before starting a User (this way CMD windows do not open)

Español Esto es un Servicio para sistemas Linux con SystemD, hara que al encender la PC se ejecute automaticamente el Script update.sh (puedes cambiarlo). Se coloca en /etc/systemd/system/ y luego se activa con:

systemctl enable UpdateAll.service

Puedes ver el log del servicio con:

journalctl -u UpdateAll.service -f

En Windows se puede crear una Tarea con el "Programador de Tareas" y Ajustarlo para que inicie al iniciar la PC antes de iniciar un Usuario (de esta manera no se abren ventanas CMD)

About

Script checks another script has stopped and restart. - Script que verifica si otro script se detuvo y lo reinicia.

Topics

Resources

Stars

Watchers

Forks

Languages