Hello.
I put some file with .sh suffix in /etc/init.d folder.
how do i run this file on startup?
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Run bash file on startup
-
- Posts: 1406
- Joined: 2009-09-10 20:15
- Location: Saint-Petersburg, Russian Federation
- Been thanked: 11 times
Re: Run bash file on startup
man update-rc.d
and all scripts in /etc/init.d must be build like /etc/init.d/skeleton. Suffix is not needed.
Peter.
and all scripts in /etc/init.d must be build like /etc/init.d/skeleton. Suffix is not needed.
Peter.
-
- Emeritus
- Posts: 2435
- Joined: 2010-12-07 19:55
- Has thanked: 14 times
- Been thanked: 54 times