summarylogtreecommitdiffstats
path: root/filebrowser@.service
diff options
context:
space:
mode:
Diffstat (limited to 'filebrowser@.service')
-rw-r--r--filebrowser@.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/filebrowser@.service b/filebrowser@.service
new file mode 100644
index 000000000000..b4e22d776995
--- /dev/null
+++ b/filebrowser@.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Filebrowser Service
+After=network.target
+Wants=network.target
+
+[Service]
+Type=simple
+WorkingDirectory=/usr/share/filebrowser
+ExecStart=/usr/bin/filebrowser --config /etc/filebrowser/%i.json
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target