add media-audiobookshelf.nix

This commit is contained in:
Ingolf Wagner 2023-05-28 22:52:20 +02:00
parent a6c1f6d846
commit 2235abc0b0
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -15,7 +15,6 @@ with pkgs;
serviceConfig = { serviceConfig = {
Type = "simple"; Type = "simple";
WorkingDirectory = "/srv/audiobookshelf"; WorkingDirectory = "/srv/audiobookshelf";
#ExecStart = "${unstable.audiobookshelf}/bin/audiobookshelf --host 127.0.0.1 --port 8000";
ExecStart = "${unstable.audiobookshelf}/bin/audiobookshelf --port 8000"; ExecStart = "${unstable.audiobookshelf}/bin/audiobookshelf --port 8000";
ExecReload = "${util-linux}/bin/kill -HUP $MAINPID"; ExecReload = "${util-linux}/bin/kill -HUP $MAINPID";
Restart = "always"; Restart = "always";