znapzend service: fix reload

This commit is contained in:
Robin Stumm 2017-04-19 01:05:55 +02:00
parent 1dcb587d93
commit 725b84be18

View File

@ -23,11 +23,11 @@ in
path = with pkgs; [ znapzend zfs mbuffer openssh ];
script = ''
znapzend
exec znapzend
'';
reload = ''
/bin/kill -HUP $MAINPID
${pkgs.coreutils}/bin/kill -HUP $MAINPID
'';
};
};