Page History
...
- The
/var/run
directory is ephemeral, i.e. it is dropped on reboot of the server. If a sub-directory such asjs7
is used then it has to be created by the service file. - PID FileDirectoryFile
PIDFile=/var/run/js7/controller.pid
ExecStartPre=+/bin/mkdir -p /var/run/js7
ExecStartPre=+/bin/chown js:js /var/run/js7
- The
+
preceeding the commends commands indicates that they will be executed by the root account. - The commands create the
js7
sub-directory and hand-over ownership to thejs
account.
...
Overview
Content Tools