Johan Cwiklinski 3f5a3d2
# It is not recommended to modify this file in-place, because it will be
Johan Cwiklinski 3f5a3d2
# overwritten during package upgrades.  If you want to customize, the best
Johan Cwiklinski 3f5a3d2
# way is to use the "systemctl edit" command to create an override unit.
Johan Cwiklinski 3f5a3d2
Johan Cwiklinski 3f5a3d2
# For example, to pass additional options (for instance,
Johan Cwiklinski 3f5a3d2
# --no-category=software) to the agent at startup, create an override unit
Johan Cwiklinski 3f5a3d2
# (as is done by systemctl edit) and enter the following:
Johan Cwiklinski 3f5a3d2
Johan Cwiklinski 3f5a3d2
# [Service]
Johan Cwiklinski 3f5a3d2
# Environment="OPTIONS=--no-category=software"
Johan Cwiklinski 3f5a3d2
Johan Cwiklinski 3f5a3d2
[Unit]
Johan Cwiklinski 3f5a3d2
Description=FusionInventory agent
Johan Cwiklinski 3f5a3d2
After=syslog.target network.target
Johan Cwiklinski 3f5a3d2
Johan Cwiklinski 3f5a3d2
[Service]
Johan Cwiklinski 3f5a3d2
ExecStart=/usr/bin/fusioninventory-agent --daemon --no-fork $OPTIONS
Johan Cwiklinski 3f5a3d2
Johan Cwiklinski 3f5a3d2
[Install]
Johan Cwiklinski 3f5a3d2
WantedBy=multi-user.target