improve error reporting

This commit is contained in:
Robin Appelman 2024-08-10 13:58:41 +02:00
commit e87394e20b
2 changed files with 34 additions and 10 deletions

View file

@ -25,8 +25,9 @@ in {
serviceConfig = {
Restart = "on-failure";
RestartSec = 2;
ExecStart = "${cfg.package}/bin/evtype_daemon";
DynamicUser = true;
User = "root";
PrivateTmp = true;
ProtectSystem = "strict";
ProtectHome = true;