Questions tagged [systemd-startup]

Startup programs on boot with systemd services.

Filter by
Sorted by
Tagged with
2
votes
1answer
24 views

Mounting an external drive by label at startup with systemd

I'm working on some home automation via a Raspberry Pi 3 B, I've got an external drive attached to it that I want to mount at startup without using fstab because I'll likely remove it at some point ...
3
votes
2answers
87 views

execute Python file on Systemstart

I want to run a simple python script like: import webbrowser webbrowser.open('http://google.com/', new=2) when the startup progress of my RPI 4 is finished. I tried something like "[How to run a ...
1
vote
2answers
169 views

How to run a graphical app before console login in a systemd-nspawn'd container?

TL;DR I'm looking for a way to autostart graphical applications, without first requiring the user to manually login. I'm improving my Vdesktop script that runs multiple versions of Raspbian on one Pi ...
1
vote
1answer
72 views

Run script on startup not working

So I'm pretty new to the pi. I'm trying to run chromium in kiosk mode on boot and point it to a local page. I've tried many tutorials online and they're all for versions of the pi that are older than ...
2
votes
3answers
128 views

Raspberry PI @reboot open xterm windows

Hello i am trying to open two shell scripts on reboot. Crontab My crontab is the following @reboot sh /home/pi/Desktop/autoStart.sh autoStart.sh in this shell script is the following #!/bin/sh cd /...
3
votes
1answer
770 views

start chromium on raspberry pi in kiosk mode using systemd service instead of through LXDE-pi/autostart

As many people, i'm looking to use my pi as a kiosk. I have managed to get everything running when starting the kiosk. my kiosk.sh script, which works fine #!/bin/bash URL="http://127.0.0.1" xset s ...
3
votes
4answers
715 views

Raspberry Pi run commands on boot

I thought that running commands on raspberry pi on boot was the easiest thing in my project. But it seems that it is complex enough not to work. I've searched a lot on the internet on a simple ...
1
vote
1answer
381 views

Run a script before blank screen on shutdown/reboot

I am trying to get my raspberry pi 3 (running Raspbian 10) to show an animation on boot and before shutdown/reboot. using Plymouth I managed to get the boot animation, however, it doesn't display ...
0
votes
1answer
42 views

The service error for startup app in a terminal

My Python application needs to run on a Raspberry Pi 3 at startup and in a terminal. What I did: I created a service screenscript.service in /etc/systemd/system a bash file in /home/pi/mydir/screen....
3
votes
2answers
385 views

Excute python file on start-up

I have a simple python file(no GUI) that I'd like it to run in the background at start-up of raspberry pi 3b. I checked out this post Execute script on start-up But it didn't specify what to do with ...
1
vote
3answers
3k views

Running a script at bootup : Good practices?, rc.local falling, Other options?

I want to run some script at bootup, right now I'm trying to see if can achieve this using rc.local is this even a good practice?? To try out this script that it's supposed to run at bootup I'm am ...