nixos/epgstation: fix startup issue

This commit is contained in:
midchildan 2022-08-14 16:03:51 +09:00
parent 9341cd89e9
commit df1243d856
No known key found for this signature in database
GPG Key ID: A64DE57FA5963935

View File

@ -266,6 +266,9 @@ in
description = "EPGStation user";
group = config.users.groups.epgstation.name;
isSystemUser = true;
# NPM insists on creating ~/.npm
home = "/var/cache/epgstation";
};
users.groups.epgstation = { };
@ -325,6 +328,7 @@ in
ExecStartPre = "+${preStartScript}";
User = username;
Group = groupname;
CacheDirectory = "epgstation";
StateDirectory = "epgstation";
LogsDirectory = "epgstation";
ConfigurationDirectory = "epgstation";