working filebrowser for jelly files
This commit is contained in:
parent
4d27e802d8
commit
b8e5166a0f
3 changed files with 18 additions and 9 deletions
|
|
@ -2,19 +2,20 @@
|
|||
|
||||
let
|
||||
domain = "files.sondell.org";
|
||||
# derp = "hi";
|
||||
in
|
||||
{
|
||||
#
|
||||
# services.audiobookshelf = {
|
||||
# enable = true;
|
||||
# port = 8000;
|
||||
# };
|
||||
systemd.services.fileBrowser = with pkgs; {
|
||||
systemd.services.filebrowser = with pkgs; {
|
||||
enable = true;
|
||||
description = "web app file explorer";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig.ExecStart = "${filebrowser}/bin/filebrowser -r /mnt/media_drive";
|
||||
unitConfig = {
|
||||
After="network-online.target";
|
||||
};
|
||||
serviceConfig = {
|
||||
ExecStart = "${filebrowser}/bin/filebrowser -r /mnt/movie_drive -d /var/lib/filebrowser/filebrowser.db";
|
||||
User= "jellyfin";
|
||||
Type= "simple";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue