extract which to a mixin, use for systemctl