This Is Your Brain On Informatics: Common Pathnames: Difference between revisions

Tikenn (talk | contribs)
No edit summary
Tikenn (talk | contribs)
No edit summary
Line 1: Line 1:
===/etc/init.d/[service] [operation]===
===Restarting, reloading, etc. a Service===


<p>This "pathname" is actually a script that causes the initiate daemon (that constantly stays in memory) to act on a service that has been input. After the service, an operation can be input in from one of the following: </p>
<pre>/etc/init.d/[service] [operation]</pre>


''Operations''
* start
* start
* stop
* stop
Line 9: Line 10:
* force-reload
* force-reload


<p>
''Services''
For our purposes, the only services that we know that this script can act on are as follows: 
</p>
 
* nginx
* nginx
* mysql
* mysql