systemd order help?

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



I'm looking into 'porting' some custom init.d scripts that are in use on 
CentOS 6 boxes for use on CentOS 7 using systemd

One particular init.d script needs to run after autofs has been started, 
but before X11 is started

I'm guessing I could use something like:

  After=autofs.service
  Before=graphical.target

Is this correct?

However, I would like to use the same systemd unit file on servers that 
won't run X - will the above work? Or is there a better/another way of 
doing this?

Thanks

James Pearson
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://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