15 lines
295 B
Text
15 lines
295 B
Text
|
|
[Unit]
|
||
|
|
Description=ZFS Pool Health Monitor
|
||
|
|
After=zfs.target network.target
|
||
|
|
|
||
|
|
[Service]
|
||
|
|
Type=oneshot
|
||
|
|
ExecStart={{ zfs_monitoring_script_path }}
|
||
|
|
User=root
|
||
|
|
Environment=HEALTHCHECK_PUSH_URL={{ healthcheck_push_url }}
|
||
|
|
StandardOutput=journal
|
||
|
|
StandardError=journal
|
||
|
|
|
||
|
|
[Install]
|
||
|
|
WantedBy=multi-user.target
|