Use new zfs paths and add deps

This commit is contained in:
Alex 2020-07-12 18:33:52 +02:00
parent 618fca21d0
commit 12081a5fc0
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
3 changed files with 7 additions and 1 deletions

View File

@ -8,7 +8,7 @@ RestartSec=10
# TODO: Add mounts # TODO: Add mounts
TemporaryFileSystem=/:ro TemporaryFileSystem=/:ro
BindReadOnlyPaths=/etc/influxdb /usr /lib /lib64 BindReadOnlyPaths=/etc/influxdb /usr /lib /lib64
BindPaths={{ influxdb.storage }} BindPaths={{ influxdb.data.path }}
ProtectSystem=strict ProtectSystem=strict
PrivateUsers=true PrivateUsers=true

View File

@ -0,0 +1,2 @@
[Unit]
After=zfs.target

View File

@ -0,0 +1,4 @@
[Unit]
After=zfs.target
[Service]
ReadWritePaths=-/dbs/redis