Skip to content

Fix/improve nsclient.service #1293

Description

@Fantu

Hi, while working on the packaging I saw a problem with the file service, the pid should not be in /usr but in /run also in some distros normally they have /usr in read-only and therefore it would not work either.

For Debian packaging for now I replace the upstream .service with an improved one (and probably will need other improvements:
https://github.com/Fantu/nscp/blob/agent-only-build4/debian/nsclient.service

In addition to the fixed PID, I added the network dependency.
I managed the logs within the service, instead of external creations and modifications (I only added log rotation external of the service in the package).

I still not tested the service using for now, I'm still working relating the build and initial package

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions