diff --git a/.github/pr_labeler.yml b/.github/pr_labeler.yml index 63d203a58..e3b3f1960 100644 --- a/.github/pr_labeler.yml +++ b/.github/pr_labeler.yml @@ -59,3 +59,9 @@ vscode: - changed-files: - any-glob-to-any-file: - .vscode/* +systemd: + - changed-files: + - any-glob-to-any-file: + - "**/*.service" + - "**/*.timer" + - "**/*.path" diff --git a/pkg/cluster-node.service b/pkg/cluster-node.service index f395c3fbf..e5cbdb512 100644 --- a/pkg/cluster-node.service +++ b/pkg/cluster-node.service @@ -7,6 +7,7 @@ After=network-online.target Type=notify ExecStart=/usr/bin/node --title {{name}} {{install.dir}}src/{{name}}-cli.mjs ExecReload=/bin/kill -HUP $MAINPID +EnvironmentFile=-/etc/conf.d/{{name}} RestartSec=10 TimeoutStartSec=25 TimeoutStopSec=25 @@ -43,7 +44,6 @@ LockPersonality=true RestrictRealtime=true RestrictSUIDSGID=true CPUWeight=50 -EnvironmentFile=-/etc/conf.d/{{name}} IOWeight=50 MemoryAccounting=true MemoryHigh=150M