Page MenuHomeFreeBSD

sysutils/sec: Change rc.d script to handle pidfile when sec_user is not root
ClosedPublic

Authored by leres on Apr 14 2018, 9:05 PM.

Details

Summary

Proposed commit message:

Move the pidfile from /var/run/sec.pid to /var/run/sec/sec.pid
and chown /var/run/sec when sec_user is set.

PR: 227056
Reviewed by: ? (mentor)
Approved by: ecu@200ok.org, ? (mentor)
Differential Revision: ?

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

leres created this revision.Apr 14 2018, 9:05 PM
ler accepted this revision.Apr 14 2018, 9:13 PM

LGTM

This revision is now accepted and ready to land.Apr 14 2018, 9:13 PM
This revision was automatically updated to reflect the committed changes.