services/gallery-dl: harden the service

This commit is contained in:
Gabriel Arazas 2022-04-17 00:17:52 +08:00
parent 9f6cef56f8
commit 10b3d01424

View File

@ -150,6 +150,14 @@ in {
} }
''; '';
startAt = value.startAt; startAt = value.startAt;
serviceConfig = {
NoNewPrivileges = true;
PrivateTmp = true;
ProtectControlGroup = true;
ProtectClock = true;
ProtectKernelModule = true;
ProtectKernelLogs = true;
};
}) cfg.jobs; }) cfg.jobs;
}; };
} }