SystemD on Debian

Digimer lists-5ZoueyuiTZiw5LPnMra/2Q at public.gmane.org
Fri Feb 14 22:18:12 UTC 2014


On 14/02/14 05:10 PM, Stewart C. Russell wrote:
> Will this mean I get to be able to do
> '/etc/init.d/misbehaving_daemon stop' again without my computer telling
> me sarcastically that I should do 'some_other_command
> misbehaving_daemon' to stop it, even if it knew what I meant?
>
> If so, I'm in favour. That's my third pet peeve after
> 1.) 'deprecated' options which worked just fine for the last 25 years;
> 2.) 'command -h' returning 'please type "command --help" for help'.
>
>   Stewart

You still need to get used to systemd.

====
lemass:/home/digimer# /etc/init.d/httpd status
bash: /etc/init.d/httpd: No such file or directory

lemass:/home/digimer# systemctl status httpd.service
httpd.service - The Apache HTTP Server
    Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
    Active: active (running) since Wed 2014-02-12 08:54:23 EST; 2 days ago
  Main PID: 898 (httpd)
    Status: "Total requests: 1705; Current requests/sec: 0; Current 
traffic:   0 B/sec"
    CGroup: /system.slice/httpd.service
            ├─  898 /usr/sbin/httpd -DFOREGROUND
            ├─ 1134 /usr/sbin/httpd -DFOREGROUND
            ├─ 1136 /usr/sbin/httpd -DFOREGROUND
            ├─ 1137 /usr/sbin/httpd -DFOREGROUND
            ├─ 1138 /usr/sbin/httpd -DFOREGROUND
            ├─ 1139 /usr/sbin/httpd -DFOREGROUND
            ├─ 2738 /usr/sbin/httpd -DFOREGROUND
            ├─ 3783 /usr/sbin/httpd -DFOREGROUND
            ├─18978 /usr/sbin/httpd -DFOREGROUND
            ├─18981 /usr/sbin/httpd -DFOREGROUND
            └─23549 /usr/sbin/httpd -DFOREGROUND

Feb 12 08:54:23 lemass.alteeve.ca systemd[1]: Starting The Apache HTTP 
Server...
Feb 12 08:54:23 lemass.alteeve.ca httpd[898]: AH00558: httpd: Could not 
reliably determine the server's fully qualified domain name, using 
lemass.alteeve.ca. Set the 'ServerName' directive globally to suppress 
this message
Feb 12 08:54:23 lemass.alteeve.ca systemd[1]: Started The Apache HTTP 
Server.
====

That sysvinit worked for 25 years is not a reason to stay stuck in the 
past. If you don't learn the new tools, you will become less useful as 
the world moves on.

This is true as a general statement across the board. We've been through 
this many times before... Adapt or become irrelevant.

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without 
access to education?
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list