models/Systemd/StandAlone/Service.pl

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« models/Systemd/Socket.pl ↑ Summary models/Systemd/Timer.pl »
1 #
2 # This file is part of Config-Model-Systemd
3 #
4 # This software is Copyright (c) 2008-2026 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 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 ▶use v5.20;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 return [
16 {
17 1 'accept' => [
18 '.*',
19 {
20 'type' => 'leaf',
21 'value_type' => 'uniline',
22 'warn' => 'Unexpected systemd parameter. Please contact cme author to update systemd model.'
23 }
24 ],
25 'element' => [
26 'Service',
27 {
28 'config_class_name' => 'Systemd::Section::Service',
29 'type' => 'node'
30 },
31 'Unit',
32 {
33 'config_class_name' => 'Systemd::Section::ServiceUnit',
34 'type' => 'node'
35 },
36 'Install',
37 {
38 'config_class_name' => 'Systemd::Section::Install',
39 'type' => 'node'
40 }
41 ],
42 'generated_by' => 'parse-man.pl from systemd doc',
43 'name' => 'Systemd::StandAlone::Service',
44 'rw_config' => {
45 'auto_create' => '1',
46 'auto_delete' => '1',
47 'backend' => 'Systemd::Unit'
48 }
49 }
50 ]
51 ;
« models/Systemd/Socket.pl ↑ Summary models/Systemd/Timer.pl »