Change Audiobookshelf mountpoint to service's default

This is being done as a step before moving to the nix version of ABS.
That change would be included here too, but I ran into a bug:

```
[2024-12-02 19:53:46.433] FATAL: [Server] Unhandled rejection: [Error: EACCES: permission denied, mkdir '/metadata'] {
  errno: -13,
  code: 'EACCES',
  syscall: 'mkdir',
  path: '/metadata'
}
promise: Promise {
  <rejected> [Error: EACCES: permission denied, mkdir '/metadata'] {
    errno: -13,
    code: 'EACCES',
    syscall: 'mkdir',
    path: '/metadata'
  }
}

```

No idea why yet so the container lives on.

To setup the mountpoint, I ran `zfs set mountpoint=legacy
orico/audiobookshelf` and created the directory used as the mount in the
`fileSystems` section.
This commit is contained in:
Gene Liverman 2024-12-02 20:52:44 -05:00
parent db7c1a22b1
commit 1eb75018d3
2 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,5 @@
{ ... }: let { ... }: let
volume_base = "/orico/audiobookshelf"; volume_base = "/var/lib/audiobookshelf";
http_port = "13378"; http_port = "13378";
in { in {
# Audiobookshelf # Audiobookshelf

View file

@ -23,6 +23,11 @@
fsType = "vfat"; fsType = "vfat";
}; };
fileSystems."/var/lib/audiobookshelf" =
{ device = "orico/audiobookshelf";
fsType = "zfs";
};
swapDevices = [ ]; swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking