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