From 76c3a616420c2b16c117adf8c845cc1e0d262301 Mon Sep 17 00:00:00 2001 From: Ralf Ertzinger Date: Sat, 12 Apr 2014 13:51:29 +0200 Subject: [PATCH] Change startup mode of ZED Change the startup mode of ZED to non-forking. While systemd can track processes that detach from the terminal just fine, running processes in non-forking mode is the preferred mode of operation. Also remove user/group definitions as root/root is the default. Signed-off-by: Chris Dunlap Signed-off-by: Brian Behlendorf Closes #2252 --- etc/systemd/system/zed.service.in | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/etc/systemd/system/zed.service.in b/etc/systemd/system/zed.service.in index 78988abb92..5b23630923 100644 --- a/etc/systemd/system/zed.service.in +++ b/etc/systemd/system/zed.service.in @@ -5,9 +5,5 @@ After=zfs-import-cache.service After=zfs-import-scan.service [Service] -Type=forking -ExecStart=@sbindir@/zed -PIDFile=@runstatedir@/zed.pid -User=root -Group=root +ExecStart=@sbindir@/zed -F Restart=on-abort