heather: fix arion volumes declaration + syncthing configDir perms
- arion-compose: project.name (required) + docker-compose.volumes (correct option, was docker-compose.raw.volumes which didn't exist) - syncthing: tmpfiles for /var/lib/syncthing (configDir) owned by mikl, fixes 'mkdir /var/lib/syncthing: permission denied' when running as non-default user
This commit is contained in:
parent
220d1f651c
commit
ebf74814bf
2 changed files with 19 additions and 3 deletions
|
|
@ -63,7 +63,10 @@
|
|||
};
|
||||
|
||||
# /srv/syncthing создаём, права mikl:users (syncthing работает от mikl).
|
||||
# /var/lib/syncthing (configDir) — тоже под mikl, иначе syncthing не может
|
||||
# mkdir (StateDirectory модуля срабатывает не всегда при не-default user).
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /srv/syncthing 0755 mikl users -"
|
||||
"d /var/lib/syncthing 0755 mikl users -"
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue