Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #185691

Re: Apache oddness on jessie => stretch upgrade

From Dave Sherohman <dave@sherohman.org>
Newsgroups linux.debian.user
Subject Re: Apache oddness on jessie => stretch upgrade
Date 2017-08-22 12:10 +0200
Message-ID <uheid-T0-7@gated-at.bofh.it> (permalink)
References <uhdFw-ng-7@gated-at.bofh.it> <uhe8z-z1-41@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Aug 22, 2017 at 11:49:50AM +0200, Sven Hartge wrote:
> Dave Sherohman <dave@sherohman.org> wrote:
> > Also, side question: I'm also manually running `systemctl enable
> > apache2` after upgrading.
> 
> You shouldn't need to do this, the maintainer scripts in the packages
> will do this for you during the upgrade.
> 
> *If* you need to do this to get a service started automatically during
> boot, then something is wrong with your system.

I've been doing it more just to be certain it was enabled, since I
wasn't sure how to tell if it was already enabled or not.  It probably
wasn't actually needed.

> > How can you tell whether something is enabled or not in systemd?
> > `systemctl status` will tell you whether it's currently running or
> > not, but I can't find any indication of enabled/ disabled in its
> > output.
> 
> ,----
> | # systemctl status ssh.service 
> | ● ssh.service - OpenBSD Secure Shell server
> |    Loaded: loaded (/lib/systemd/system/ssh.service; enabled)
> |    Active: active (running) since Tue 2017-08-22 11:36:46 CEST; 11min ago
> |  Main PID: 812 (sshd)
> |    CGroup: /system.slice/ssh.service
> |            └─812 /usr/sbin/sshd -D
> `----
> 
> See the "enabled" at the end of the line starting with "Loaded:"? 

...

Well, that's embarrassing.  How did I manage to never notice that in all
the times I looked for it?

Thanks!

-- 
Dave Sherohman

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Apache oddness on jessie => stretch upgrade Dave Sherohman <dave@sherohman.org> - 2017-08-22 11:30 +0200
  Re: Apache oddness on jessie => stretch upgrade Sven Hartge <sven@svenhartge.de> - 2017-08-22 12:00 +0200
    Re: Apache oddness on jessie => stretch upgrade Dave Sherohman <dave@sherohman.org> - 2017-08-22 12:10 +0200
  Re: Apache oddness on jessie => stretch upgrade Bastien Durel <bastien@durel.org> - 2017-08-22 12:10 +0200

csiph-web