ALT Linux Bugzilla
– Attachment 5612 Details for
Bug 27865
ahttpd не работает после рестарта
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Запуск ahttpd с демонизацией через start-stop-daemon
no-daemonize.patch (text/plain), 1.11 KB, created by
manowar@altlinux.org
on 2012-10-29 04:34:48 MSK
(
hide
)
Description:
Запуск ahttpd с демонизацией через start-stop-daemon
Filename:
MIME Type:
Creator:
manowar@altlinux.org
Created:
2012-10-29 04:34:48 MSK
Size:
1.11 KB
patch
obsolete
>diff --git a/alterator-fbi/ahttpd.init b/alterator-fbi/ahttpd.init >index fab3572..78c9f19 100755 >--- a/alterator-fbi/ahttpd.init >+++ b/alterator-fbi/ahttpd.init >@@ -32,7 +32,7 @@ start() > { > ssl_generate "ahttpd" > >- start_daemon --pidfile "$PIDFILE" --lockfile "$LOCKFILE" --expect-user _ahttpd --name ahttpd --displayname ahttpd -- ahttpd >+ start_daemon --background --pidfile "$PIDFILE" --make-pidfile --lockfile "$LOCKFILE" --expect-user _ahttpd --name ahttpd --displayname ahttpd -- ahttpd > RETVAL=$? > > [ "$RETVAL" != "0" ] || publish_service ahttpd 'System management center at %h' '_https._tcp' "$(ahttpd_port)" >diff --git a/alterator-fbi/sbin/ahttpd b/alterator-fbi/sbin/ahttpd >index 1c65172..e201341 100755 >--- a/alterator-fbi/sbin/ahttpd >+++ b/alterator-fbi/sbin/ahttpd >@@ -231,7 +231,7 @@ > (begin (alterator-init-local) > (d-init-local)) > (begin (alterator-init-global) >- (daemonize (config-ref *config* "server-pidfile")) >+; (daemonize (config-ref *config* "server-pidfile")) > (drop-privs (config-ref *config* "server-user") > (config-ref *config* "server-group")))) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 27865
: 5612