Hi, Here is a working systemd configuration.
Envirment File (/etc/sysconfig/fusioninventory-agent ou équivalent) # Add tools directory if needed (tw_cli, hpacucli, ipssend, ...) PATH=/sbin:/bin:/usr/sbin:/usr/bin # Global options (debug for verbose log, rpc-trust-localhost for yum-plugin) FUSINVOPT="--debug --rpc-trust-localhost" Systemd Unit file [Unit] Description=FusionInventory agent After=syslog.target network.target [Service] EnvironmentFile=/etc/sysconfig/fusioninventory-agent ExecStart=/usr/bin/fusioninventory-agent $FUSINVOPT --logfile=/var/log/fusioninventory-agent/service.log --daemon-no-fork [Install] WantedBy=multi-user.target N.B. server, tag, ... could be configured in agent.log or using FUSINVOPT (I prefer the later), ex: FUSINVOPT="--debug --rpc-trust-localhost --tag=FUS --server=http://localhost/glpi/plugins/fusioninventory/" _______________________________________________ Fusioninventory-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/fusioninventory-devel
