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
|
|
265024
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
34
|
|
11
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
79
|
|
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
|
|
|
|
|
|
|
|