Struct ::systemd::Unit
A systemd Unit file
This can be used to enable or mask systemd units.
For example, to enable a unit file from a package:
enable?;
from_pkg
.
The additional functions can be used to customise the behaviour.
Methods
Create a new instace from a unit file in a package
Override the name of the unit. Useful for parameterised units (e.g. foo@.service
)
Skip installing aliases
Skip installing wanted-by