HACK: Change home partition permissions for Mopidy
This commit is contained in:
parent
01a56c145f
commit
514f2c8d07
|
@ -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" ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue