2024-10-24 06:53:20 +02:00
|
|
|
|
[Unit]
|
2024-10-29 14:51:04 +01:00
|
|
|
|
Description=GancioF2F service
|
2024-10-24 06:53:20 +02:00
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
|
# «oneshot» is the good «Type»
|
|
|
|
|
Type=oneshot
|
|
|
|
|
|
|
|
|
|
# Uncomment next directive if you want to set a specific working directory.
|
2024-10-29 14:51:04 +01:00
|
|
|
|
# Note that in this case “<ganciof2f path>” and “<configuration file path>”
|
2024-10-24 06:53:20 +02:00
|
|
|
|
# will need to be relative to the working directory (or absolute).
|
|
|
|
|
#WorkingDirectory=<working directory path>
|
|
|
|
|
|
2024-10-29 14:51:04 +01:00
|
|
|
|
# Uncomment next directive if you want to avoid running GancioF2F as root;
|
2024-10-24 06:53:20 +02:00
|
|
|
|
# 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
|
2024-10-29 14:51:04 +01:00
|
|
|
|
# to the GancioF2F «storage» sub-directory.
|
2024-10-24 06:53:20 +02:00
|
|
|
|
#User=<username>
|
|
|
|
|
|
2024-10-29 14:51:04 +01:00
|
|
|
|
# Uncomment the directive below and edit it to set GancioF2F’s command line.
|
|
|
|
|
#ExecStart=php <ganciof2f path> <configuration file path>
|