]>
Commit | Line | Data |
---|---|---|
9e246ac3 | 1 | /* |
d0249a4b BB |
2 | * This file is part of the ZFS Event Daemon (ZED). |
3 | * | |
9e246ac3 CD |
4 | * Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049). |
5 | * Copyright (C) 2013-2014 Lawrence Livermore National Security, LLC. | |
1966e959 | 6 | * Refer to the OpenZFS git commit log for authoritative copyright attribution. |
492b1d2e CD |
7 | * |
8 | * The contents of this file are subject to the terms of the | |
9 | * Common Development and Distribution License Version 1.0 (CDDL-1.0). | |
10 | * You can obtain a copy of the license from the top-level file | |
11 | * "OPENSOLARIS.LICENSE" or at <http://opensource.org/licenses/CDDL-1.0>. | |
12 | * You may not use this file except in compliance with the license. | |
9e246ac3 CD |
13 | */ |
14 | ||
15 | #ifndef ZED_H | |
16 | #define ZED_H | |
17 | ||
9e246ac3 CD |
18 | /* |
19 | * Absolute path for the default zed pid file. | |
20 | */ | |
21 | #define ZED_PID_FILE RUNSTATEDIR "/zed.pid" | |
22 | ||
23 | /* | |
24 | * Absolute path for the default zed state file. | |
25 | */ | |
26 | #define ZED_STATE_FILE RUNSTATEDIR "/zed.state" | |
27 | ||
28 | /* | |
dcca723a | 29 | * Absolute path for the default zed zedlet directory. |
9e246ac3 | 30 | */ |
dcca723a | 31 | #define ZED_ZEDLET_DIR SYSCONFDIR "/zfs/zed.d" |
9e246ac3 | 32 | |
9e246ac3 CD |
33 | /* |
34 | * String prefix for ZED variables passed via environment variables. | |
35 | */ | |
36 | #define ZED_VAR_PREFIX "ZED_" | |
37 | ||
38 | /* | |
39 | * String prefix for ZFS event names passed via environment variables. | |
40 | */ | |
41 | #define ZEVENT_VAR_PREFIX "ZEVENT_" | |
42 | ||
43 | #endif /* !ZED_H */ |