Make cephfs mount not optional

This commit is contained in:
kalle 2025-04-11 22:35:13 +02:00
parent d5eac571a4
commit 644d0d78ba
2 changed files with 11 additions and 1 deletions

View file

@ -60,6 +60,14 @@
# Create the database
postgres.databases = [ "freshrss" ];
# Only run freshrss after ceph has been mounted
systemd.services.freshrss-config = {
after = [ "cephfs.mount" ];
};
systemd.services.nginx = {
after = [ "cephfs.mount" ];
};
# Enable and configure the service
services.freshrss = {
enable = true;

View file

@ -43,6 +43,8 @@
fileSystems."/cephfs" = {
device = "vm@b9b22d11-3492-49a6-92b7-b36cdf0161fe.cephfs=/";
fsType = "ceph";
options = [ "nofail" ];
options = [
"nofail"
];
};
}