[systemd-devel] Systemd Questions

Reindl Harald h.reindl at thelounge.net
Sun Aug 14 12:34:01 UTC 2016



Am 14.08.2016 um 14:29 schrieb Tom Browder:
> 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)?

systemctl start servicename
systemctl stop servicename

> 2. Where exactly do I modify starting, status, and stopping parameters
> for a service?

/etc/systemd/system/

> 3. If Debian 8 is running systemd for a service, why do I need an
> entry for a service in init.d?

you don't

> 4. Do I have to use systemd for a service?  If not, how do I do that?

to be honest: did you read *any* documentation or anything about systemd 
before your post besides "it exists"?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160814/756da9c2/attachment.sig>


More information about the systemd-devel mailing list