HACK: Change home partition permissions for Mopidy

This commit is contained in:
coolneng 2022-03-29 13:18:47 +02:00
parent 01a56c145f
commit 514f2c8d07
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 10 additions and 0 deletions

View File

@ -94,4 +94,14 @@ in {
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
startAt = "*-*-13 17:00:00"; startAt = "*-*-13 17:00:00";
}; };
# HACK Change home partition permissions for mopidy
systemd.services.chmod-home = {
description = "Change home partition permissions for Mopidy";
wantedBy = [ "default.target" ];
script = "chmod 751 /home/coolneng";
serviceConfig.Type = "oneshot";
after = [ "home-coolneng.mount" ];
before = [ "mopidy.service" "mopidy-scan.service" ];
};
} }