GancioF2F/systemd/ganciof2f.service

23 lines
892 B
SYSTEMD
Raw Normal View History

2024-10-24 06:53:20 +02:00
[Unit]
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.
# 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>
# 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
# to the GancioF2F «storage» sub-directory.
2024-10-24 06:53:20 +02:00
#User=<username>
# Uncomment the directive below and edit it to set GancioF2Fs command line.
#ExecStart=php <ganciof2f path> <configuration file path>