[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: a question about debian package



On Sun, Nov 22, 2020 at 05:02:12PM -0800, Richard Zhang wrote:
> Failed to preset unit: Unit
> /run/systemd/generator.late/roche-htp-connect-api.service is transient or
> generated.
> /usr/bin/deb-systemd-helper: error: systemctl preset failed on
> roche-htp-connect-api.service: No such file or directory
> 
> If the service is installed in /etc/systemd/system. The error will be gone.
> What should I do to get the service installed in the
> "/etc/systemd/system/"  directory?

>From what i understand of systemd, a systemd unit delivered by a package
is supposed to be in /lib/systemd/system. See man 5 systemd.unit.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421


Reply to: