Starting a service under sysvinit available for systemd .deb file

Technical issues/questions of an intermediate or advanced nature.
Post Reply
User avatar
francois
Contributor
Contributor
Posts: 5291
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Y fait frette et on gèle

Starting a service under sysvinit available for systemd .deb file

Post#1 by francois » 06 Jan 2018, 16:29

Trying to use a VPN service under porteus, the script is only available for .deb package.

Is it complicated to start a service under sysvinit from the info provided by systemd instructions included in the .deb package?
Carpe diem.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 1173
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Starting a service under sysvinit available for systemd .deb file

Post#2 by ncmprhnsbl » 06 Jan 2018, 23:33

i shouldn't think it too hard.. look at <.deb pkg>/usr/lib(64?)/systemd/user/<?>.service
if the ExecStart= line is simple enough, it could possibly just go in /etc/rc.d/rc.local ...
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 5291
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Y fait frette et on gèle

Starting a service under sysvinit available for systemd .deb file

Post#3 by francois » 14 Jan 2018, 23:29

Thanks for the reply. Finally, I returned the chromecast device as I already had a LG intelligent TV. Chromecast was obsolete, especially that I had a google TV device.

Thanks.
Carpe diem.

Post Reply