23 lines
878 B
SYSTEMD
23 lines
878 B
SYSTEMD
|
[Unit]
|
|||
|
Description=GancioFF
|
|||
|
After=network.target
|
|||
|
|
|||
|
[Service]
|
|||
|
# «oneshot» is the good «Type»
|
|||
|
Type=oneshot
|
|||
|
|
|||
|
# Uncomment next directive if you want to set a specific working directory.
|
|||
|
# Note that in this case “<gancioff path>” and “<configuration file path>”
|
|||
|
# will need to be relative to the working directory (or absolute).
|
|||
|
#WorkingDirectory=<working directory path>
|
|||
|
|
|||
|
# Uncomment next directive if you want to avoid running GancioFF as root;
|
|||
|
# note that the user specified here needs to have read access to the
|
|||
|
# configuration file specified in «ExecStart» (see below), read-write access
|
|||
|
# to the state file specified in the configuration file, and read-write access
|
|||
|
# to the GancioFF «storage» sub-directory.
|
|||
|
#User=<username>
|
|||
|
|
|||
|
# Uncomment the directive below and edit it to set GancioFF’s command line.
|
|||
|
#ExecStart=php <gancioff path> <configuration file path>
|