Compare commits
6 Commits
14c7249083
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 7d0af09f86 | |||
| 9b034619a8 | |||
| 6482d52f0b | |||
| cc252a367f | |||
| 186d69cb53 | |||
| fa6b0bad92 |
@@ -16,12 +16,24 @@
|
||||
wantedBy = ["networking-online.target"];
|
||||
enable = true;
|
||||
serviceConfig = {
|
||||
WorkingDirectory = "handyhelper";
|
||||
WorkingDirectory = config.users.users.handy.home;
|
||||
ExecStart = ''
|
||||
${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 = {};
|
||||
})
|
||||
];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user