#1169 docs: use systemctl enable --now for postgres and kojid
Merged by mikem. Opened by ktdreyer.
ktdreyer/koji doc-systemctl-enable-now  into  master

Download 1169.patch

Newer versions of systemd (RHEL 7.3+) support the --now flag to start and enable the service in one command.

Does this work? I thought it is systemctl enable --now <unit>?

I tested systemctl enable --now <unit> and systemctl enable <unit> --now on RHEL 7.6. They both work.

rebased onto 1a10cc6ae0a19bfe40943eb0dae1bc210ff93e18

rebased onto c31bfaee09a02ee09b781f83cf30425d9c45c99e

I wonder how much value brevity is here. Those who know systemd can sort this out themselves and probably don't even need to see these commands. Those who are unfamiliar with systemd usage could probably benefit from seeing the separate commands.

I've found that it makes it faster to set up Koji when there are fewer commands to copy & paste.

Commit a894e38a fixes this pull-request

Pull-Request has been merged by mikem

Metadata