Compare commits

..

6 Commits

View File

@@ -16,12 +16,24 @@
wantedBy = ["networking-online.target"]; wantedBy = ["networking-online.target"];
enable = true; enable = true;
serviceConfig = { serviceConfig = {
WorkingDirectory = "handyhelper"; WorkingDirectory = config.users.users.handy.home;
ExecStart = '' ExecStart = ''
${handy_py}/bin/handyhelper ${handy_py}/bin/handyhelper
''; '';
User = "handy";
RuntimeDirectory = "handyhelper";
RuntimeDirectoryMode = "0755";
}; };
}; };
users.users = {
handy = {
home = "/var/lib/handyhelper";
useDefaultShell = true;
isSystemUser = true;
group = "handy";
};
};
users.groups.handy = {};
}) })
]; ];
}; };