- Home
- Categorie
- Gli Off Topic
- Tutti i Software
- Avviare in esecuzione automatica su Suse
-
Avviare in esecuzione automatica su Suse
Buonasera
Semplice domanda:
Vorrei avviare, come l'esecuzione automatica di windows, 2 scripts che si auto-eseguano all'avvio.Ciò che mi serve è:
rcmysql restart
rcapache2 restartSe su ambiente Suse 10x qualcuno sa dirmi dove inserire gli script e come fare per auto-avviarli mi farebbe un grande piacere
Grazie!
-
hai provato ad inserire semplicemente:
rcmysql restart
rcapache2 restartquesto in /etc/rc.d/rc.local (slackware) comunque rc.local dovrebbe averlo anche suse
questo dice rc.local:
#!/bin/sh
/etc/rc.d/rc.local: Local system initialization script.
Put any local startup commands in here. Also, if you have
anything that needs to be run at shutdown time you can
make an /etc/rc.d/rc.local_shutdown script and put those
commands in there.
-
Grazie! Provo subito