summaryrefslogtreecommitdiffstats
path: root/core/modules/dnbd3-proxy-mode/data/etc/systemd
diff options
context:
space:
mode:
authorSimon Rettberg2022-02-23 16:17:05 +0100
committerSimon Rettberg2022-02-23 16:17:05 +0100
commit0281e8057adcb79f92882845baab77b85397287c (patch)
treeab804898d7a06713fe5252f16d69b6c8ed971ca1 /core/modules/dnbd3-proxy-mode/data/etc/systemd
parent[remote-access] Explicitly add virtual output on intel cards (diff)
downloadmltk-0281e8057adcb79f92882845baab77b85397287c.tar.gz
mltk-0281e8057adcb79f92882845baab77b85397287c.tar.xz
mltk-0281e8057adcb79f92882845baab77b85397287c.zip
[dnbd3-proxy-mode] Split dnbd0 local caching split into own unit
Other approach also failed as service doesn't run as root, obviously
Diffstat (limited to 'core/modules/dnbd3-proxy-mode/data/etc/systemd')
-rw-r--r--core/modules/dnbd3-proxy-mode/data/etc/systemd/system/dnbd3-local-stage4.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/modules/dnbd3-proxy-mode/data/etc/systemd/system/dnbd3-local-stage4.service b/core/modules/dnbd3-proxy-mode/data/etc/systemd/system/dnbd3-local-stage4.service
new file mode 100644
index 00000000..532f5c13
--- /dev/null
+++ b/core/modules/dnbd3-proxy-mode/data/etc/systemd/system/dnbd3-local-stage4.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=add local DNBD3 proxy to dnbd0 for caching
+Requires=dnbd3-proxy.service
+After=dnbd3-proxy.service
+
+[Service]
+Type=oneshot
+ExecStart=/opt/openslx/scripts/systemd-dnbd3_local_stage4
+RemainAfterExit=true