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

Re: Sample systemd service init file please



T o n g <mlist4suntong@yahoo.com> writes:

> Can you provide me a sample systemd service init file, that correspond
> to init.d script please? I.e., the corresponding file for systemd to
> replace /etc/init.d/service.

Take a look at the lbcd package in Debian.  It has an init script, a
systemd unit, and an upstart configuration, all of the same (simple)
daemon, so it's easy to compare them.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: