Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1:Update
rpcbind
rpcbind-systemd-notify.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rpcbind-systemd-notify.patch of Package rpcbind
--- rpcbind-0.2.0_git201103171419.orig/src/rpcbind.c +++ rpcbind-0.2.0_git201103171419/src/rpcbind.c @@ -253,7 +253,9 @@ main(int argc, char *argv[]) #endif network_init(); - +#ifdef SYSTEMD + sd_notify(0, "READY=1"); +#endif my_svc_run(); rpcbind_syslog(LOG_ERR, "svc_run returned unexpectedly"); rpcbind_abort(); --- rpcbind-0.2.0_git201103171419.orig/systemd/rpcbind.service.in +++ rpcbind-0.2.0_git201103171419/systemd/rpcbind.service.in @@ -2,6 +2,7 @@ Description=RPC Bind [Service] +Type=notify ExecStart=@bindir@/rpcbind -w -f [Install]
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor