| Summary: | functions-compat: daemon() needs to handle --pidfile | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Ivan Zakharyaschev <imz> |
| Component: | service | Assignee: | placeholder <placeholder> |
| Status: | CLOSED DUPLICATE | QA Contact: | qa-sisyphus |
| Severity: | normal | ||
| Priority: | P3 | CC: | glebfm, ldv, legion, nbr, placeholder, vt |
| Version: | unstable | ||
| Hardware: | all | ||
| OS: | Linux | ||
| Bug Depends on: | 31952 | ||
| Bug Blocks: | |||
The same issue is described at https://bugzilla.altlinux.org/show_bug.cgi?id=31952 . *** This bug has been marked as a duplicate of bug 31952 *** |
service-0.5.26-alt1.x86_64 There some init-scripts for RHEL7.2 which invoke daemon() from /etc/init.d/functions-compat with --pidfile like this: start() { [ $UID -eq 0 ] || exit 4 [ -x $exec ] || exit 5 echo -n $"Starting $prog: " daemon --pidfile $pidfile $exec $OPTIONS RETVAL=$? [ $RETVAL -eq 0 ] && touch $lockfile echo } Currently, ALT's package doesn't support this.