add systemd timer + a service and a timer can have same name

This commit is contained in:
2022-03-05 10:57:55 +01:00
parent fbc5f9374e
commit d1d6a80fe7
331 changed files with 1201 additions and 1132 deletions

View File

@ -7,27 +7,27 @@
"owner": "default",
"value": "192.168.0.2"
},
"services.nut.ip.nut_monitor_host.name": {
"services.nut_service.ip.nut_monitor_host.name": {
"owner": "default",
"value": "192.168.0.1"
},
"services.nut.ip.nut_monitor_host.activate": {
"services.nut_service.ip.nut_monitor_host.activate": {
"owner": "default",
"value": true
},
"services.nut.ip.nut_monitor_host2.name": {
"services.nut_service.ip.nut_monitor_host2.name": {
"owner": "default",
"value": "192.168.0.2"
},
"services.nut.ip.nut_monitor_host2.activate": {
"services.nut_service.ip.nut_monitor_host2.activate": {
"owner": "default",
"value": true
},
"services.nut.activate": {
"services.nut_service.activate": {
"owner": "default",
"value": true
},
"services.nut.manage": {
"services.nut_service.manage": {
"owner": "default",
"value": true
}

View File

@ -1,10 +1,10 @@
{
"rougail.nut_monitor_host": "192.168.0.1",
"rougail.nut_monitor_host2": "192.168.0.2",
"services.nut.ip.nut_monitor_host.name": "192.168.0.1",
"services.nut.ip.nut_monitor_host.activate": true,
"services.nut.ip.nut_monitor_host2.name": "192.168.0.2",
"services.nut.ip.nut_monitor_host2.activate": true,
"services.nut.activate": true,
"services.nut.manage": true
"services.nut_service.ip.nut_monitor_host.name": "192.168.0.1",
"services.nut_service.ip.nut_monitor_host.activate": true,
"services.nut_service.ip.nut_monitor_host2.name": "192.168.0.2",
"services.nut_service.ip.nut_monitor_host2.activate": true,
"services.nut_service.activate": true,
"services.nut_service.manage": true
}

View File

@ -7,27 +7,27 @@
"owner": "default",
"value": "192.168.0.2"
},
"services.nut.ip.nut_monitor_host.name": {
"services.nut_service.ip.nut_monitor_host.name": {
"owner": "default",
"value": "192.168.0.1"
},
"services.nut.ip.nut_monitor_host.activate": {
"services.nut_service.ip.nut_monitor_host.activate": {
"owner": "default",
"value": true
},
"services.nut.ip.nut_monitor_host2.name": {
"services.nut_service.ip.nut_monitor_host2.name": {
"owner": "default",
"value": "192.168.0.2"
},
"services.nut.ip.nut_monitor_host2.activate": {
"services.nut_service.ip.nut_monitor_host2.activate": {
"owner": "default",
"value": true
},
"services.nut.activate": {
"services.nut_service.activate": {
"owner": "default",
"value": true
},
"services.nut.manage": {
"services.nut_service.manage": {
"owner": "default",
"value": true
}

View File

@ -26,6 +26,6 @@ option_10 = OptionDescription(name="nut_monitor_host2", doc="nut_monitor_host2",
option_6 = OptionDescription(name="ip", doc="ip", children=[option_7, option_10])
option_13 = BoolOption(name="activate", doc="activate", default=True)
option_14 = BoolOption(name="manage", doc="manage", default=True)
option_5 = OptionDescription(name="nut", doc="nut", children=[option_6, option_13, option_14])
option_5 = OptionDescription(name="nut_service", doc="nut.service", children=[option_6, option_13, option_14])
option_4 = OptionDescription(name="services", doc="services", children=[option_5], properties=frozenset({"hidden"}))
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_4])