line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
# This file is part of Config-Model-Systemd |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
# This software is Copyright (c) 2008-2022 by Dominique Dumont. |
5
|
|
|
|
|
|
|
# |
6
|
|
|
|
|
|
|
# This is free software, licensed under: |
7
|
|
|
|
|
|
|
# |
8
|
|
|
|
|
|
|
# The GNU Lesser General Public License, Version 2.1, February 1999 |
9
|
|
|
|
|
|
|
# |
10
|
1
|
|
|
1
|
|
322985
|
use strict; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
36
|
|
11
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
95
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
return [ |
14
|
|
|
|
|
|
|
{ |
15
|
|
|
|
|
|
|
'accept' => [ |
16
|
|
|
|
|
|
|
'.*', |
17
|
|
|
|
|
|
|
{ |
18
|
|
|
|
|
|
|
'type' => 'leaf', |
19
|
|
|
|
|
|
|
'value_type' => 'uniline', |
20
|
|
|
|
|
|
|
'warn' => 'Unexpected systemd parameter. Please contact cme author to update systemd model.' |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
], |
23
|
|
|
|
|
|
|
'element' => [ |
24
|
|
|
|
|
|
|
'Service', |
25
|
|
|
|
|
|
|
{ |
26
|
|
|
|
|
|
|
'config_class_name' => 'Systemd::Section::Service', |
27
|
|
|
|
|
|
|
'type' => 'node' |
28
|
|
|
|
|
|
|
}, |
29
|
|
|
|
|
|
|
'Unit', |
30
|
|
|
|
|
|
|
{ |
31
|
|
|
|
|
|
|
'config_class_name' => 'Systemd::Section::ServiceUnit', |
32
|
|
|
|
|
|
|
'type' => 'node' |
33
|
|
|
|
|
|
|
}, |
34
|
|
|
|
|
|
|
'Install', |
35
|
|
|
|
|
|
|
{ |
36
|
|
|
|
|
|
|
'config_class_name' => 'Systemd::Section::Install', |
37
|
|
|
|
|
|
|
'type' => 'node' |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
], |
40
|
|
|
|
|
|
|
'generated_by' => 'parse-man.pl from systemd doc', |
41
|
|
|
|
|
|
|
'name' => 'Systemd::StandAlone::Service', |
42
|
|
|
|
|
|
|
'rw_config' => { |
43
|
|
|
|
|
|
|
'auto_create' => '1', |
44
|
|
|
|
|
|
|
'auto_delete' => '1', |
45
|
|
|
|
|
|
|
'backend' => 'Systemd::Unit' |
46
|
|
|
|
|
|
|
} |
47
|
|
|
|
|
|
|
} |
48
|
|
|
|
|
|
|
] |
49
|
|
|
|
|
|
|
; |
50
|
|
|
|
|
|
|
|