Starting a service under sysvinit available for systemd .deb file

Technical issues/questions of an intermediate or advanced nature.
User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

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?
Prendre son temps, profiter de celui qui passe.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
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 : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

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.
Prendre son temps, profiter de celui qui passe.

Post Reply