it's actually called preStartScript
This commit is contained in:
parent
2c88897e62
commit
b4a93ecccc
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
after = [ "network.target" ];
|
after = [ "network.target" ];
|
||||||
|
|
||||||
preScript = ''
|
preStartScript = ''
|
||||||
mkdir -p /var/lib/u
|
mkdir -p /var/lib/u
|
||||||
mkdir -p /var/lib/u/files
|
mkdir -p /var/lib/u/files
|
||||||
chown -R ${cfg.user}:${cfg.group} /var/lib/u
|
chown -R ${cfg.user}:${cfg.group} /var/lib/u
|
||||||
|
|
Loading…
Reference in a new issue