Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debian package and fusioninventory-agent.pid #26

Closed
Furlot opened this issue Jun 1, 2015 · 2 comments
Closed

debian package and fusioninventory-agent.pid #26

Furlot opened this issue Jun 1, 2015 · 2 comments

Comments

@Furlot
Copy link

Furlot commented Jun 1, 2015

Hello,

little bug in debian package of fusioninventory-agent 2.3.15 when start agent as daemon, fusioninventory-agent.pid is created in /var/lib/fusioninventory-agent/ but service script (in /etc/init.d) try to read pid in /var/run/ so stop and restart doesn't work.

@goneri goneri self-assigned this Jun 24, 2015
@keyser75000
Copy link
Contributor

same bug in 2.3.16 package.
The parameter --pidfile must be set in fusioninventory parameters et not in start-stop-daemon parameters.
start-stop-daemon --start --quiet --exec $DAEMON -- $DAEMON_OPTS --pidfile /var/run/$NAME.pid
instead of
start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS

@g-bougard
Copy link
Contributor

Hi here !

can you try to use the latest debian package I produced today ?

Only Debian 8, Debian 9 and latest Ubuntu distros are supported. They were built using 2.3.x+debian-packaging branch in Teclib's fusioninventory-agent repo.

This is a manual install before I finally setup a more official repo in september. And feedback would help to eventually enhanced the package since then.

So can you try the new Method 1 at Debian and Ubuntu installation documentation ?

Thank you in advance

PS: I'm closing this issue as newer distro are based on systemd and pidfile isn't useful in that context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants