basic reloading

This commit is contained in:
Robin Appelman 2025-10-30 18:56:02 +01:00
commit 78e716f949
9 changed files with 562 additions and 32 deletions

View file

@ -60,9 +60,8 @@ in {
wantedBy = ["multi-user.target"];
serviceConfig = {
Restart = "on-failure";
Type = "notify";
Type = "notify-reload";
ExecStart = "${getExec cfg.pkg} daemon -c /etc/netnsd/netnsd.toml";
ExecReload = "${getExec cfg.pkg} reload";
PrivateTmp = true;
ProtectSystem = "full";
ProtectHome = true;