ma share: try harder to start everything after cloud mount
This commit is contained in:
parent
cd0e850132
commit
5ae3892b6c
@ -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;
|
||||||
|
@ -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
|
||||||
|
@ -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 {
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user