[ale] starting apcupsd on boot

Derek Atkins derek at ihtfp.com
Fri Oct 3 10:04:01 EDT 2014


Either works, actually. The service command is smart enough to know whether the service is controlled by initscripts or systemd and will call the appropriate subsystem. 

-derek

Sent on my mobile. Please forgive any typos.

----- Reply message -----
From: "Jim Kinney" <jim.kinney at gmail.com>
To: "Derek Atkins" <derek at ihtfp.com>
Cc: "Paul Cartwright" <pbcartwright at gmail.com>, "Atlanta Linux Enthusiasts - Yes! We run Linux!" <ale at ale.org>
Subject: [ale] starting apcupsd on boot
Date: Fri, Oct 3, 2014 9:34 AM

That should be systemctl start dovecot.

systemctl | egrep "dovecot|apcupsd" will show enabled/disabled status of both. systemctl enable foo will allow foo to start on boot.

On Fri, Oct 3, 2014 at 8:53 AM, Derek Atkins <derek at ihtfp.com> wrote:

So the systemctl didn't error out? that's good. Now try systemctl status dovecot? Reboot for the enable to take effect..  Or service dovecot start.

-derek

Sent on my mobile. Please forgive any typos.

----- Reply message -----
From: "Paul Cartwright" <pbcartwright at gmail.com>
To: "Derek Atkins" <derek at ihtfp.com>, <jimkinney at gmail.com>, "Atlanta Linux Enthusiasts - Yes! We run Linux!" <ale at ale.org>
Subject: [ale] starting apcupsd on boot
Date: Fri, Oct 3, 2014 8:15 AM


On 10/03/2014 07:36 AM, Derek Atkins wrote:
> What version of fedora?
> Chkconfig doesn't work with systemd services, so try systemctl enable
> dovecot?
>
> -derek
>
> Sent on my mobile. Please forgive any typos.
ok, so this is fedora 21.. but that shouldn't matter, right;-0)

systemctl enable apcupsd
[root at pauls-server log]# chkconfig --list

Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by
native
systemd configuration.

If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.

livesys            0:off    1:off    2:off    3:on    4:on    5:on    6:off
livesys-late       0:off    1:off    2:off    3:on    4:on    5:on    6:off
netconsole         0:off    1:off    2:off    3:off    4:off    5:off   
6:off
network            0:off    1:off    2:off    3:off    4:off    5:off   
6:off
[root at pauls-server log]# rpm -V apcupsd
[root at pauls-server log]#

same with dovecot..

-- 
Paul Cartwright
Registered Linux User #367800 and new counter #561587






-- 
-- 
James P. Kinney III

Every time you stop a school, you will have to build a jail. What you 
gain at one end you lose at the other. It's like feeding a dog on his 
own tail. It won't fatten the dog.


- Speech 11/23/1900 Mark Twain

http://heretothereideas.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20141003/e792bfc9/attachment.html>


More information about the Ale mailing list