bundlewrap/bundles/openhab/items.py
2021-10-29 10:43:14 +02:00

23 lines
429 B
Python

directories = {
'/var/lib/openhab': {
'owner': 'openhab',
'group': 'openhab',
'needs': [
'zfs_dataset:tank/openhab',
'pkg_apt:openhab',
],
'triggers': [
'svc_systemd:openhab:restart',
],
}
}
svc_systemd = {
'openhab': {
'needs': [
'pkg_apt:openhab',
'directory:/var/lib/openhab',
],
}
}