Create linux systemd service
Create the file
/etc/systemd/system/routes.service
File content:
[Unit]
Description=Routes
After=multi-user.target
[Service]
Type=idle
ExecStart=/etc/init.d/routes.sh
[Install]
WantedBy=multi-user.target
Now lets enable service:
systemctl enable routes.service
If your script have start/stop options, change the ExecStart:
ExecStart=/etc/init.d/routes.sh start
ExecStop=/etc/init.d/routes.sh stop
How to Install PHP 8.3 on Ubuntu 26.04, 24.04 and 22.04
importar chave repo sudo apt install -y ca-certificates curl sudo curl -fsSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sur...
Mais vistos
-
Find Users Who Have Never Logged On Use the following PowerShell Command; Get-ADUser -Filter { LastLogonDate -notlike "*" -and En...
-
Java Keytool Command These commands allow you to generate a new Java Keytool keystore file, create a CSR, and import certificates. A...
-
First you have to configure a wpad site in your IIS Open the proxypac.pac file you have previously created and save as wpad.dat. Copy wpa...