From e2cf9a043eda447822d90ce30ba85a724e38ebe2 Mon Sep 17 00:00:00 2001 From: Derek Ross Date: Tue, 5 Mar 2024 17:20:12 +0000 Subject: [PATCH] Add PrivateNetwork schema entry Add a schema entry for PrivateNetwork to systemd (https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#PrivateNetwork=) --- ncm-systemd/src/main/pan/components/systemd/schema.pan | 1 + 1 file changed, 1 insertion(+) diff --git a/ncm-systemd/src/main/pan/components/systemd/schema.pan b/ncm-systemd/src/main/pan/components/systemd/schema.pan index b992a80d5b..e5975af7a4 100644 --- a/ncm-systemd/src/main/pan/components/systemd/schema.pan +++ b/ncm-systemd/src/main/pan/components/systemd/schema.pan @@ -204,6 +204,7 @@ type ${project.artifactId}_unitfile_config_systemd_exec = { 'Nice' ? long(-20..19) 'OOMScoreAdjust' ? long(-1000..1000) 'PrivateTmp' ? boolean + 'PrivateNetwork' ? boolean 'RootDirectory' ? ${project.artifactId}_relative_directory 'RuntimeDirectoryMode' ? type_octal_mode 'RuntimeDirectoryPreserve' ? choice('yes', 'no', 'restart')