pcp
[Top] [All Lists]

Seeking testers - systemd service support

To: pcp developers <pcp@xxxxxxxxxxx>
Subject: Seeking testers - systemd service support
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu, 21 Aug 2014 19:59:39 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1511959256.36243266.1408664620721.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: t9WL5sXIhMHKEIuLjECSqkv44dx2vw==
Thread-topic: Seeking testers - systemd service support
Hi all,

The next release of PCP will include support for native
systemd service files, instead of relying on the support
in systemd for sysv init scripts (there will be no files
below /etc/init.d for PCP anymore, IOW, and $PCP_RC_DIR
will point somewhere else entirely).

This code is in the dev branch at git://git.pcp.io/pcp and
I'm very keen to hear of any problems/successes; please do
let me know.  This is QA testing well so far but thats only
on my local systems.

Its a relatively high risk sort of change, since if it is
not right, there's the potential for nothing at all to work
after the next upgrade (e.g. if pmcd fails to start...)!
./Makepkgs script FTW.

If you're used to /sbin/chkconfig, systemd equivalents are:

# systemctl enable pmcd
# systemctl disable pmcd
# systemctl is-enabled pmcd

(the concepts of runlevel differs in systemd, PCP daemons
are now WantedBy the "multi-user.target" Install grouping)

If you're used to /sbin/service, systemd equivalents are:

# systemctl restart pmcd
# systemctl start pmcd
# systemctl stop pmcd

(for all of the above, substitute pmcd with pmproxy, pmwebd,
pmmgr, pmlogger, or pmie of course, depending on your needs)


Thanks!

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>