Each time Ubuntu is starting I need to run a script, which is running some SQLs. So I need run it after MySQL already started.
Where should I put such script?
|
file sould be place in The link sould be in the form to sum up, create tour file in then change directory to /etc/rc2.d ans |
|||||
|
systemd If the version of Ubuntu you're using is using
Add another entry to:
by appending a semicolon and the name of your script:
Note that these scripts are not run using a shell, so you'll need to wrap yours in The Upstart For pre-14.04 versions of Ubuntu, you could create an
Save the file to More information on |
|||||
|