mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 19:19:32 +03:00
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:
parent
8125fb7190
commit
76c3a61642
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user