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 {
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;