0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

Support postStart scripts in service units

This commit is contained in:
Eelco Dolstra 2012-10-01 16:45:49 -04:00
parent 891be375b5
commit 13d747c11a
2 changed files with 16 additions and 0 deletions

View file

@ -122,6 +122,15 @@ with pkgs.lib;
'';
};
postStart = mkOption {
type = types.string;
default = "";
description = ''
Shell commands executed after the service's main process
is started.
'';
};
restartIfChanged = mkOption {
type = types.bool;
default = true;