Config-Model-Systemd
view release on metacpan or search on metacpan
t/model_tests.d/systemd-user-examples/duplicity/duplicity.service view on Meta::CPAN
[Service]
ExecStart = my-backup
t/model_tests.d/systemd-user-examples/duplicity/duplicity.service~ view on Meta::CPAN
## This file was written by cme command.
## You can run 'cme edit systemd-user' to modify this file.
## You may also modify the content of this file with your favorite editor.
[Service]
ExecStart = /home/domi/private/admin/backup-ylum.sh
t/model_tests.d/systemd-user-test-conf.pl view on Meta::CPAN
backend_arg => 'test.service',
load => 'service:test Unit Description="test from scratch"',
file_contents_like => {
"home/joe/.config/systemd/user/test.service" => qr/from scratch/ ,
},
},
{
name => 'duplicity',
backend_arg => 'duplicity',
check => [
'service:duplicity Service ExecStart:0' => "my-backup",
'timer:duplicity Timer OnCalendar:0' => '13:00',
'timer:duplicity Unit Description'=>"Run duplicity",
]
}
);
return {
tests => \@tests,
home_for_test=>'/home/joe',
conf_dir => '~/.config/systemd/user/',
( run in 1.565 second using v1.01-cache-2.11-cpan-49f99fa48dc )