You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, the Target unit type should implement the UnitInterface similar to the Timer or Service.
Despite that everything, that is possible with a Timer should also be possible with a Target.
In the most simple case, you only need to provide the Target class implementing the UnitInterface extending AbstractUnit. The class should provide the correct suffix.
First of all, the
Target
unit type should implement theUnitInterface
similar to theTimer
orService
.Despite that everything, that is possible with a
Timer
should also be possible with aTarget
.In the most simple case, you only need to provide the
Target
class implementing theUnitInterface
extendingAbstractUnit
. The class should provide the correct suffix.For more information about a Unit or Target see systemd documentation:
https://www.freedesktop.org/software/systemd/man/systemd.unit.html
https://www.freedesktop.org/software/systemd/man/systemd.target.html
Also see PR #27 from @peter279k for reference.
The text was updated successfully, but these errors were encountered: