On Sun, Aug 14, 2016 at 5:30 PM, Mantas Mikulėnas <graw...@gmail.com> wrote:
> On Sun, Aug 14, 2016 at 3:29 PM, Tom Browder <tom.brow...@gmail.com> > wrote: > >> I am trying to get comfortable with systemd on Debian 8 but am very >> confused by the complex documentation. >> >> I am a simple man with a simple need to be able to modiify startup >> scripts for several packages I build from source which currently are: >> >> + apache (httpd) >> + postgresql >> + bind9 >> >> I'm not sure of a few things under systemd: >> >> 1. What exactly is the command to start or stop a service (consider >> the three above)? >> > > With native systemd .services, it's taken from the unit's ExecStart= and > ExecStop= (the default for the latter is SIGTERM). > > SysV-compat services (see below) just run "/etc/init.d/httpd start", so > everything works as before. > > In either case, `systemctl status …` shows the command that was used. > The above was thinking you were asking about what command systemd *itself* uses to run the daemon... The user-facing commands are `systemctl start httpd` or `service httpd start` (both should do the same thing). -- Mantas Mikulėnas <graw...@gmail.com>
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel