diff options
author | Simon Rettberg | 2019-07-09 15:51:12 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-07-09 15:51:12 +0200 |
commit | 5fc215ed0cefdab85b543ede8564714e960374ea (patch) | |
tree | e722d4cab86dde6b6d8301b9ad4179a8431a3483 /core/modules/dnbd3-proxy-mode/data/etc/systemd/system | |
parent | [networkd-dispatcher] remove hack (diff) | |
download | mltk-5fc215ed0cefdab85b543ede8564714e960374ea.tar.gz mltk-5fc215ed0cefdab85b543ede8564714e960374ea.tar.xz mltk-5fc215ed0cefdab85b543ede8564714e960374ea.zip |
[dnbd3-proxy-mode] Support local caching
Diffstat (limited to 'core/modules/dnbd3-proxy-mode/data/etc/systemd/system')
3 files changed, 11 insertions, 0 deletions
diff --git a/core/modules/dnbd3-proxy-mode/data/etc/systemd/system/dnbd3-proxy.service b/core/modules/dnbd3-proxy-mode/data/etc/systemd/system/dnbd3-proxy.service index 5896a1db..709e0724 100644 --- a/core/modules/dnbd3-proxy-mode/data/etc/systemd/system/dnbd3-proxy.service +++ b/core/modules/dnbd3-proxy-mode/data/etc/systemd/system/dnbd3-proxy.service @@ -1,5 +1,6 @@ [Unit] Description=DNBD3 proxy server +Requires=setup-dnbd3-proxy.service After=setup-dnbd3-proxy.service [Service] diff --git a/core/modules/dnbd3-proxy-mode/data/etc/systemd/system/dnbd3-tune-network.service b/core/modules/dnbd3-proxy-mode/data/etc/systemd/system/dnbd3-tune-network.service new file mode 100644 index 00000000..a4ec217e --- /dev/null +++ b/core/modules/dnbd3-proxy-mode/data/etc/systemd/system/dnbd3-tune-network.service @@ -0,0 +1,9 @@ +[Unit] +Description=Tweak network stack of %i for maximum throughput +Wants=dhcpc@%i.service +After=dhcpc@%i.service network-interface@%i.service + +[Service] +Type=oneshot +ExecStart=/opt/openslx/scripts/systemd-tweak_network %I + diff --git a/core/modules/dnbd3-proxy-mode/data/etc/systemd/system/multi-user.target.wants/setup-dnbd3-proxy.service b/core/modules/dnbd3-proxy-mode/data/etc/systemd/system/multi-user.target.wants/setup-dnbd3-proxy.service new file mode 120000 index 00000000..ecc3db93 --- /dev/null +++ b/core/modules/dnbd3-proxy-mode/data/etc/systemd/system/multi-user.target.wants/setup-dnbd3-proxy.service @@ -0,0 +1 @@ +../setup-dnbd3-proxy.service
\ No newline at end of file |