user and group

This commit is contained in:
Jack L. Frost 2014-07-31 01:01:44 +04:00
parent 2ec40dcf56
commit b22320fd70

View File

@ -1,8 +1,10 @@
#!/usr/bin/env watchman #!/usr/bin/env watchman
cfg_user='http'
cfg_group='http'
cfg_socket='/run/fcgiwrap.sock' cfg_socket='/run/fcgiwrap.sock'
service_pidfile='/run/fcgiwrap.pid' service_pidfile='/run/fcgiwrap.pid'
service_respawn='true' service_respawn='true'
service_command='/bin/spawn-fcgi' service_command='/bin/spawn-fcgi'
service_args="-s ${cfg_socket} -P ${service_pidfile} -u http -g http -- /usr/bin/fcgiwrap" service_args="-s ${cfg_socket} -P ${service_pidfile} -u ${cfg_user} -g ${cfg_group} -- /usr/bin/fcgiwrap"