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 <cdunlap@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2252
This commit is contained in:
Ralf Ertzinger 2014-04-12 13:51:29 +02:00 committed by Brian Behlendorf
parent 8125fb7190
commit 76c3a61642
1 changed files with 1 additions and 5 deletions

View File

@ -5,9 +5,5 @@ After=zfs-import-cache.service
After=zfs-import-scan.service After=zfs-import-scan.service
[Service] [Service]
Type=forking ExecStart=@sbindir@/zed -F
ExecStart=@sbindir@/zed
PIDFile=@runstatedir@/zed.pid
User=root
Group=root
Restart=on-abort Restart=on-abort