sysvinit alternative to systemd

Message
Author
kd4e
Posts: 277
Joined: Mon Dec 06, 2021 5:26 pm

sysvinit alternative to systemd

#1 Post by kd4e »

I need to do something similar to this - without systemd:
systemd --> systemctl start trunk-recorder.service
I'm thinking that this is the sysvinit version "service frobozz start" - based on this:

https://fedoraproject.org/wiki/SysVinit ... Cheatsheet

Is that correct, please?

David

bigbenaugust
Posts: 56
Joined: Wed Dec 20, 2017 9:41 am

Re: sysvinit alternative to systemd

#2 Post by bigbenaugust »

I don't have my MX machine in front of me at the moment, but I'm not sure MX implements the service command for managing init scripts for services.
In sysV-style init, everything is just a shell script, so

Code: Select all

systemctl start trunk-recorder.service 
is more like

Code: Select all

/etc/init.d/trunk-recorder start
under the hood. That's all the service command does for distros that use it as a wrapper.
(This assumes whatever package set up trunk-recorder dropped an init script in the default location)
--Ben

Huckleberry Finn

Re: sysvinit alternative to systemd

#3 Post by Huckleberry Finn »

Code: Select all

sudo service trunk-recorder start

kd4e
Posts: 277
Joined: Mon Dec 06, 2021 5:26 pm

Re: sysvinit alternative to systemd

#4 Post by kd4e »

Thanks!

As soon as I get the OS and files loaded on the just-set-up Dell server I'll give it a try and report back.

Post Reply

Return to “Software / Configuration”