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

Question about writing systemd unit for old package



Hi everyone,

I'm trying to write a new systemd unit for mini-httpd package, which is
using lsb-base to init. Can I replace the old init script straight up, or
do I have to maintain both the systemd unit and the old init script ?

A related question: The binary itself can drop privilege and run as
non-root, then should I use that native feature or use systemd User= when
writing a default config/unit ?

Regards,
Khoa


Reply to: