Local control channel: unprivileged users can trigger --force-update via the running service

This commit is contained in:
mram
2026-09-21 23:00:38 +02:00
parent ca33a3db82
commit f707d07fd8
8 changed files with 387 additions and 23 deletions
+3 -1
View File
@@ -95,6 +95,8 @@ RestartSec=5s
DynamicUser=yes
StateDirectory=%s
RuntimeDirectory=%s
RuntimeDirectoryMode=0755
%sProtectSystem=strict
ProtectHome=yes
PrivateTmp=yes
@@ -117,7 +119,7 @@ SystemCallErrorNumber=EPERM
[Install]
WantedBy=multi-user.target
`, exePath, configPath, Name, bind)
`, exePath, configPath, Name, Name, bind)
}
// copyFile copies src to dst, creating dst with the given mode.