Config-Model-Systemd
view release on metacpan or search on metacpan
lib/Config/Model/models/Systemd/Section/Unit.pl view on Meta::CPAN
Mount points marked with C<noauto> are not
mounted automatically through C<local-fs.target>,
but are still honored for the purposes of this option, i.e. they
will be pulled in by this unit.',
'type' => 'leaf',
'value_type' => 'uniline'
},
'WantsMountsFor',
{
'description' => 'Same as C<RequiresMountsFor>,
but adds dependencies of type C<Wants> instead
of C<Requires>.',
'type' => 'leaf',
'value_type' => 'uniline'
},
'OnSuccessJobMode',
{
'description' => 'Takes a value of
C<fail>,
C<replace>,
C<replace-irreversibly>,
C<isolate>,
C<flush>,
C<ignore-dependencies> or
C<ignore-requirements>.
C<OnFailureJobMode> defaults to
C<replace>,
C<OnSuccessJobMode> defaults to
C<fail>. Specifies how the units listed in
C<OnSuccess>/C<OnFailure> will be enqueued. See
L<systemctl(1)>\'s
C<--job-mode=> option for details on the
possible values. If this is set to C<isolate>,
only a single unit may be listed in
C<OnSuccess>/C<OnFailure>.',
'type' => 'leaf',
'value_type' => 'uniline'
},
'OnFailureJobMode',
{
'description' => 'Takes a value of
C<fail>,
C<replace>,
C<replace-irreversibly>,
C<isolate>,
C<flush>,
C<ignore-dependencies> or
C<ignore-requirements>.
C<OnFailureJobMode> defaults to
C<replace>,
C<OnSuccessJobMode> defaults to
C<fail>. Specifies how the units listed in
C<OnSuccess>/C<OnFailure> will be enqueued. See
L<systemctl(1)>\'s
C<--job-mode=> option for details on the
possible values. If this is set to C<isolate>,
only a single unit may be listed in
C<OnSuccess>/C<OnFailure>.',
'migrate_from' => {
'formula' => '$unit',
'variables' => {
'unit' => '- OnFailureIsolate'
}
},
'type' => 'leaf',
'value_type' => 'uniline'
},
'IgnoreOnIsolate',
{
'description' => 'Takes a boolean argument. If C<true>, this unit will not be stopped
when isolating another unit. Defaults to C<false> for service, target, socket, timer,
and path units, and C<true> for slice, scope, device, swap, mount, and automount
units.',
'type' => 'leaf',
'value_type' => 'boolean',
'write_as' => [
'no',
'yes'
]
},
'StopWhenUnneeded',
{
'description' => 'Takes a boolean argument. If
C<true>, this unit will be stopped when it is no
longer used. Note that, in order to minimize the work to be
executed, systemd will not stop units by default unless they
are conflicting with other units, or the user explicitly
requested their shut down. If this option is set, a unit will
be automatically cleaned up if no other active unit requires
it. Defaults to C<false>.',
'type' => 'leaf',
'upstream_default' => 'no',
'value_type' => 'boolean',
'write_as' => [
'no',
'yes'
]
},
'RefuseManualStart',
{
'description' => 'Takes a boolean argument. If
C<true>, this unit can only be activated or
deactivated indirectly. In this case, explicit start-up or
termination requested by the user is denied, however if it is
started or stopped as a dependency of another unit, start-up
or termination will succeed. This is mostly a safety feature
to ensure that the user does not accidentally activate units
that are not intended to be activated explicitly, and not
accidentally deactivate units that are not intended to be
deactivated. These options default to
C<false>.',
'type' => 'leaf',
'value_type' => 'boolean',
'write_as' => [
'no',
'yes'
]
},
'RefuseManualStop',
{
( run in 0.906 second using v1.01-cache-2.11-cpan-39bf76dae61 )