Re: Apache oddness on jessie => stretch upgrade
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.
> 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:"?
Grüße,
Sven.
--
Sigmentation fault. Core dumped.
Reply to: