Make it possible to also define functions for overrides, supervisord always accepts a pidfile parameter
This commit is contained in:
parent
bc14fc99a1
commit
eb2be708e2
|
@ -13,9 +13,8 @@ createManagedProcess {
|
|||
${initialize}
|
||||
'';
|
||||
process = "${supervisor}/bin/supervisord";
|
||||
args = [ "--configuration" configFile "--logfile" logFile ];
|
||||
args = [ "--configuration" configFile "--logfile" logFile "--pidfile" pidFile ];
|
||||
foregroundProcessExtraArgs = [ "--nodaemon" ];
|
||||
daemonExtraArgs = [ "--pidfile" pidFile ];
|
||||
|
||||
overrides = {
|
||||
sysvinit = {
|
||||
|
|
Loading…
Reference in New Issue