Make it possible to also define functions for overrides, supervisord always accepts a pidfile parameter

This commit is contained in:
Sander van der Burg 2020-10-25 17:05:58 +01:00 committed by Sander van der Burg
parent bc14fc99a1
commit eb2be708e2
1 changed files with 1 additions and 2 deletions

View File

@ -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 = {