add systemd timer + a service and a timer can have same name
This commit is contained in:
@ -3,19 +3,19 @@
|
||||
"owner": "default",
|
||||
"value": "192.168.0.1"
|
||||
},
|
||||
"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.activate": {
|
||||
"services.nut_service.activate": {
|
||||
"owner": "default",
|
||||
"value": true
|
||||
},
|
||||
"services.nut.manage": {
|
||||
"services.nut_service.manage": {
|
||||
"owner": "default",
|
||||
"value": true
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"rougail.nut_monitor_host": "192.168.0.1",
|
||||
"services.nut.ip.nut_monitor_host.name": "192.168.0.1",
|
||||
"services.nut.ip.nut_monitor_host.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.activate": true,
|
||||
"services.nut_service.manage": true
|
||||
}
|
||||
|
@ -3,19 +3,19 @@
|
||||
"owner": "default",
|
||||
"value": "192.168.0.1"
|
||||
},
|
||||
"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.activate": {
|
||||
"services.nut_service.activate": {
|
||||
"owner": "default",
|
||||
"value": true
|
||||
},
|
||||
"services.nut.manage": {
|
||||
"services.nut_service.manage": {
|
||||
"owner": "default",
|
||||
"value": true
|
||||
}
|
||||
|
@ -22,6 +22,6 @@ option_6 = OptionDescription(name="nut_monitor_host", doc="nut_monitor_host", ch
|
||||
option_5 = OptionDescription(name="ip", doc="ip", children=[option_6])
|
||||
option_9 = BoolOption(name="activate", doc="activate", default=True)
|
||||
option_10 = BoolOption(name="manage", doc="manage", default=True)
|
||||
option_4 = OptionDescription(name="nut", doc="nut", children=[option_5, option_9, option_10])
|
||||
option_4 = OptionDescription(name="nut_service", doc="nut.service", children=[option_5, option_9, option_10])
|
||||
option_3 = OptionDescription(name="services", doc="services", children=[option_4], properties=frozenset({"hidden"}))
|
||||
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_3])
|
||||
|
Reference in New Issue
Block a user