[CentOS] Making systemd start a service after sshd?

2015-02-20 Thread Bryan Wright
Hi folks, For complicated reasons, I'd like to have a service (lightdm) start after sshd starts. (This is on CentOS 7.) I've tried adding "sshd.service" to the lists of "Active=" and "Require=" items in /etc/systemd/system/lightdm.service (which started as a copy of /usr/lib/systemd/syst

Re: [CentOS] Making systemd start a service after sshd?

2015-02-20 Thread Bryan Wright
Stijn De Weirdt writes: > isn't the attribute named Requires (with an s)? You're right! But correcting that doesn't change the behavior. Sshd still starts after lightdm. Bryan ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailm

Re: [CentOS] Making systemd start a service after sshd?

2015-02-20 Thread Bryan Wright
Hi again, I'm starting to get to the bottom of it. It looks like the file in /etc/systemd/system is being ignored. I noticed this when I did a: systemctl show -p "After" lightdm.service and saw that it didn't show sshd.service as a depencency. After editing the original copy of lightdm.servic