Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling package on ubuntu 18.04 does not work correctly #726

Closed
r-caamano opened this issue Sep 11, 2023 · 1 comment · Fixed by #727
Closed

Enabling package on ubuntu 18.04 does not work correctly #726

r-caamano opened this issue Sep 11, 2023 · 1 comment · Fixed by #727

Comments

@r-caamano
Copy link
Member

When trying to enable the ziti-edge-tunnel package on Ubuntu 18.04 by issuing "sudo systemctl enable ziti-edge-tunnel.service --now I get the following error:

The unit files have no installation config (WantedBy, RequiredBy, Also, Alias
settings in the [Install] section, and DefaultInstance for template units).
This means they are not meant to be enabled using systemctl.
Possible reasons for having this kind of units are:

  1. A unit may be statically enabled by being symlinked from another unit's
    .wants/ or .requires/ directory.
  2. A unit's purpose may be to act as a helper for some other unit which has
    a requirement dependency on it.
  3. A unit may be started when needed via activation (socket, path, timer,
    D-Bus, udev, scripted systemctl call, ...).
  4. In case of template units, the unit is meant to be enabled with some
    instance name specified.

If I copy /lib/systemd/system/ziti-edge-tunnel.service to /etc/systemd/system/ I am then able to successfully enable the service.

@scareything
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants