Add user setup script
This commit is contained in:
1 parent
1b2a724a26
commit
09539b5866
6 files changed
+80
-46
No files matched your search
@@ -57,6 +57,7 @@ in
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
TimeoutStartSec = "360s";
|
||||
EnvironmentFile = lib.mkIf (containerSet.setup.envFile != null) containerSet.setup.envFile;
|
||||
ExecStart = "${containerSet.setup.script}";
|
||||
RemainAfterExit = true;
|
||||
User = "root";
|
||||
|
||||
Reference in new issue
Block a user