Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No subject

my ypbind.service was taking a bit of time. (I'm working on migrating to
LDAP at some later point...) Since there are a lot of permission issues
set through ypbind, I thought it best to delay staring up apache until
after the ypbind service was working. Thus all it took was to add
ypbind.service to /usr/lib/systemd/system/httpd.service file in the
'After' tag list.
> -------- cat /usr/lib/systemd/system/httpd.service  ------
> [Unit]
> Description=The Apache HTTP Server
> ypbind.service
> [Service]
> Type=notify
> EnvironmentFile=/etc/sysconfig/httpd
> ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND
> ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
> ExecStop=/bin/kill -WINCH ${MAINPID}
> # We want systemd to give httpd some time to finish gracefully, but
still want
> # it to kill httpd after TimeoutStopSec if something went wrong during the
> # graceful stop. Normally, Systemd sends SIGTERM signal right after the
> # ExecStop, which would kill httpd. We are sending useless SIGCONT
here to give
> # httpd time to finish.
> KillSignal=SIGCONT
> PrivateTmp=true
> [Install]
> -----------------------------
> and now after a fresh reboot, my subversion repository access through
httpd seems to be working again.
> Cheers. Steve.
> _______________________________________________
> Discuss mailing list
> Discuss at

- -- 
Jerry Feldman <gaf at>
Boston Linux and Unix
PGP key id:3BC1EB90
PGP Key fingerprint: 49E2 C52A FC5A A31F 8D66  C0AF 7CEA 30FC 3BC1 EB90
Version: GnuPG v1


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!

Boston Linux & Unix /