Re: Making systemd start a service after sshd?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> On Feb 20, 2015, at 1:07 PM, Bryan Wright <bkw1a@xxxxxxxxxxxx> wrote:
> 
> I put the original lightdm.service back to its pristine state, made
> /etc/systemd/system/display-manager.service a symlink to my modified
> lightdm.service file in /etc/systemd/system and rebooted, and things work as
> expected.

Testing that it works on reboot is a good thing to test, but it is not the minimum necessary test.

I wonder if you are forgetting “systemctl daemon-reload”?  Unlike with SysV init, changes to /usr/lib/systemd/system don’t immediately take effect.  You have to tell systemd to reload the configuration files when they change.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos





[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux