ma share: try harder to start everything after cloud mount

This commit is contained in:
makefu 2023-06-03 15:35:54 +02:00
parent cd0e850132
commit 5ae3892b6c
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
4 changed files with 5 additions and 2 deletions

View File

@ -22,6 +22,8 @@ let
in { in {
state = [ base-dir ]; state = [ base-dir ];
# hotfix for broken wiki after reboot
systemd.services."phpfpm-euer-wiki".serviceConfig.RequiresMountFor = [ "/media/cloud" ];
services.phpfpm = { services.phpfpm = {
pools.euer-wiki = { pools.euer-wiki = {
inherit user group; inherit user group;

View File

@ -6,7 +6,7 @@ let
"x-systemd.idle-timeout=300" "x-systemd.idle-timeout=300"
"x-systemd.mount-timeout=60s" "x-systemd.mount-timeout=60s"
]; ];
host = "gum"; #TODO host = "gum.w"; #TODO
in { in {
boot.extraModprobeConfig = '' boot.extraModprobeConfig = ''
options cifs CIFSMaxBufSize=130048 options cifs CIFSMaxBufSize=130048

View File

@ -3,7 +3,7 @@
with <stockholm/lib>; with <stockholm/lib>;
let let
automount_opts = automount_opts =
["nofail" "noempty" ["nofail"
]; ];
host = "u288834.your-storagebox.de"; host = "u288834.your-storagebox.de";
in { in {

View File

@ -9,6 +9,7 @@ let
in { in {
# samba share /media/crypt1/share # samba share /media/crypt1/share
systemd.services.samba-smbd.serviceConfig.RequiresMountFor = [ "/media/cryptX" ];
users.users.smbguest = { users.users.smbguest = {
name = "smbguest"; name = "smbguest";
uid = config.ids.uids.smbguest; uid = config.ids.uids.smbguest;