Run a command when apache restarts
46492
Run shell script from Apache conf or at Apache (re)start
138665
How to run a command before the machine automatically shuts down?
128312
How can I keep a command I started from the shell running if I logout from the shell?
88035
Automatically executing commands when a command-prompt is opened
16417
Run a command without making me wait
92426
Execute a script when the output of a command has a specific string
12211
How to run a command when a directory's contents are updated?
11948
How to restart X Window Server from command line?
121193
Apache server doesn't start automatically
149765
Change the Ubuntu program that runs when a command can't be found
155683
Manually Start LAMP Server
7117
How to automatically restart a linux background process if it fails?
4465
Execute a script upon logout/reboot/shutdown in Ubuntu
72395
How can I restart a Java application?
34320
How do I stop Apache2 from automatically starting on boot?
85942
How can I make a process I start during an SSH session run after the session has ended?
107980
Run same command again but as root