aboutsummaryrefslogtreecommitdiffstats
path: root/mkosi.skeleton/etc/systemd/system/filebin.service
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2019-11-12 08:27:23 +0100
committerDennis Eriksen <d@ennis.no>2019-11-12 08:27:23 +0100
commitad4cdcd9bfccf89066163fe2e4d4076857921537 (patch)
treea70f66f109e852948f02d6af11bcdb9744c366c4 /mkosi.skeleton/etc/systemd/system/filebin.service
parentadding readme (diff)
downloadmkosi-filebin-ad4cdcd9bfccf89066163fe2e4d4076857921537.tar.gz
moving from skeleton to extra
Diffstat (limited to 'mkosi.skeleton/etc/systemd/system/filebin.service')
-rw-r--r--mkosi.skeleton/etc/systemd/system/filebin.service33
1 files changed, 0 insertions, 33 deletions
diff --git a/mkosi.skeleton/etc/systemd/system/filebin.service b/mkosi.skeleton/etc/systemd/system/filebin.service
deleted file mode 100644
index b7c557f..0000000
--- a/mkosi.skeleton/etc/systemd/system/filebin.service
+++ /dev/null
@@ -1,33 +0,0 @@
-# From https://github.com/espebra/filebin/blob/master/etc/systemd/filebin.service.example
-
-[Unit]
-Description=Filebin
-Requires=network.target
-After=network.target
-
-[Service]
-ExecStart=/go/filebin \
- --filedir /var/lib/filebin/files \
- --tempdir /tmp \
- --baseurl https://f.dnns.no \
- --port 8304 \
- --access-log /var/log/filebin/access.log \
- --expiration 604800
-StandardOutput=syslog
-StandardError=syslog
-SyslogIdentifier=filebin
-PrivateTmp=true
-ProtectSystem=strict
-ProtectHome=true
-ProtectKernelTunables=true
-ProtectControlGroups=true
-ProtectKernelModules=true
-InaccessiblePaths=/etc /home /opt /srv /var/local /var/mail
-BindPaths=/var/log/filebin /var/lib/filebin
-RemoveIPC=true
-User=filebin
-Group=filebin
-Restart=on-failure
-
-[Install]
-WantedBy=multi-user.target