On Wed, 28 Jan 2015, Wilfred van Velzen wrote to mark lewis:
WvV>> You mean 'sysctl enable ' ?
WvV> (Little mistake. That should be: systemctl)
i was wondering because there is something in the script headers that we can
put in where a tool, sysctl i think, will automatically create the links in the
rc*.d directories for us but we still go look manually and may adjust things if
we desire it...
ml> i guess so unless that's part of systemd... much of what we do is
ml> handled manually, though... we can easily take an existing script
ml> and modify it slightly for our item and off we go...
WvV> Same goes for the service config files for systemd. ;)
yeah, but there's a lot of other crap in there that's not needed, wanted or
desired...
WvV>> After you have done that you can call 'systemctl start|stop
WvV>> ' commands from any cron job.
ml> we've never done that and don't intend to do so... /etc/init.d/foo
ml> start/stop is more our style and it is built into our muscle
ml> thought memory
ml> banks ;)
WvV> That's the same as executing 'systemctl start/stop foo'. ;)
no, not really... in this case, we're using the init.d script and not the links
in one of the rc*.d directories...
)\/(ark
* Origin: (1:3634/12)
|