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 3fb3c453c1
commit aa148e2267
4 changed files with 5 additions and 2 deletions

View file

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

View file

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

View file

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

View file

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