Freenove / Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi

Apply to FNK0043
Other
133 stars 148 forks source link

Feature/systemd autostart #16

Open ldastey-dev opened 3 years ago

ldastey-dev commented 3 years ago

The autostart instructions in the existing guide don't work well (if at all). This is a more standard and secure way to enable autostart of the smart car server using SystemD service manager.

ZhiJGuo commented 3 years ago

@ldastey-dev tried your method and one step showed an error. As shown below: image

ldastey-dev commented 3 years ago

Hi Jack

Did you symlink the files to the relevant directories in the README.md? Can you run the following and post the output?

ls -l /lib/systemd/system ls -l /etc/init.d

You should see the symlinks to the files you list above in those directories. Can you also run

cat /etc/init.d/smart-car-server

Thanks, Leigh

Get Outlook for iOShttps://aka.ms/o0ukef


From: jack G notifications@github.com Sent: Tuesday, March 9, 2021 2:02:59 AM To: Freenove/Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi@noreply.github.com Cc: Leigh Dastey ldastey@outlook.com; Mention mention@noreply.github.com Subject: Re: [Freenove/Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi] Feature/systemd autostart (#16)

@ldastey-devhttps://github.com/ldastey-dev tried your method and one step showed an error. As shown below: [image]https://user-images.githubusercontent.com/49022851/110407273-8ba63800-80be-11eb-85ac-b872317d3702.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Freenove/Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi/pull/16#issuecomment-793265111, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOEFN422NOMR2BEMUGLWGWDTCV6VHANCNFSM4YX6DSBA.