diff --git a/debian/znapzend.service b/debian/znapzend.service index 1cbb24f..40c546e 100644 --- a/debian/znapzend.service +++ b/debian/znapzend.service @@ -5,7 +5,8 @@ After=zfs-import-cache.service After=zfs-import-scan.service [Service] -ExecStart=/usr/bin/znapzend +EnvironmentFile=-/etc/default/znapzend +ExecStart=/usr/bin/znapzend $ZNAPZENDOPTIONS ExecReload=/bin/kill -HUP $MAINPID Restart=on-failure # might be neccessary on low power systems