Changes

From Amahi Wiki
Jump to: navigation, search
# Once exactly one service is picked. It's the name of the service.
# Name is required, and it may be optionally followed by a PID file path
# IfWith the following property:#* File If the file path doesn't start with / it's relative to /var/run/ (i.e. named:named/named.pid -> /var/run/named/named.pid)#* If the PID file path starts with /, then it's used as is#* No If no PID file path specified, then the PID file is assume to be /var/run/<name>.pid#* Does If it does not exist, otherwise the platform will do a <i>pgrep</i> <name>#* Returns If ieturns something, it's assumed it will be valid PIDs for that service
# Not recommended as <i>pgrep</i> may pick up other processes running by a name containing <name>, e.g., ssh-agent.
 
===systemd service template===
See http://blog.hqcodeshop.fi/archives/93-Handling-varrun-with-systemd.html for details.
Trusted, Bots, Bureaucrats, emailconfirmed, Administrators
3,789

edits