summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRalf Ertzinger <[email protected]>2014-04-12 13:51:29 +0200
committerBrian Behlendorf <[email protected]>2014-09-02 14:18:53 -0700
commit76c3a616420c2b16c117adf8c845cc1e0d262301 (patch)
tree83fe2f809bbbed998921dae61b29f8c14438f74a /etc
parent8125fb71905cd97a5954db34014a455eb2c1c3d2 (diff)
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 <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #2252
Diffstat (limited to 'etc')
-rw-r--r--etc/systemd/system/zed.service.in6
1 files changed, 1 insertions, 5 deletions
diff --git a/etc/systemd/system/zed.service.in b/etc/systemd/system/zed.service.in
index 78988abb9..5b2363092 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