Questions tagged [systemd-startup]
Startup programs on boot with systemd services.
62 questions
0 votes
0 answers
53 views
Start up script to run a tcp connection
I am trying to run a script that uses sockets to connect 2 Raspberry Pi 4 devices on start up. I have a listen function and a send function. I know that the script is running because I added an LED ...
0 votes
2 answers
507 views
systemd service not running, and there is no /var/log/syslog file at all
System is a Raspberry Pi 5 running bookworm. Using unison compiled from source 2.53.2 I have created several services for synching files between serverA and serverB when serverA starts up. There are ...
0 votes
2 answers
307 views
Why isn't the display environment starting with this script at boot?
I have a Raspberry Pi 4 running Debian GNU/Linux 12 (bookworm) I have a Python script in a shell file launcher.sh (with executable for all permissions) that runs happily without complaint if I ...
0 votes
1 answer
407 views
Kiosk mode audio output problem
When the Raspberry Pi 4/5 boots, I automatically start the Chromium browser (kiosk mode) with systemd according to the configuration below. [Unit] Description=kiosk app After=graphical.target [...
2 votes
2 answers
1k views
systemd user service shows status "dead" on boot, but runs when manually restarted
I'm writing some code to run a sound/light show from a raspberry pi 3 A+, using the latest Bullseye OS. I've been testing it manually, running via ssh, and all is well. However, it needs to run ...
1 vote
1 answer
504 views
Starting problem after Buster upgrade to Bullseye [closed]
I have a Raspberri Pi 4 of 4Gb my Operating System was Debian Buster that I upgraded to Bullseye and since when I restart I have a whole bunch of messages see the screenshots attached it seems to me ...
2 votes
1 answer
2k views
Logging output from autostarted program (LXDE-pi/autostart)
So I have a headless Pi CM4 running standard Raspbian, its only function is to auto-start an application at boot which is invoked from /etc/xdg/lxsession/LXDE-pi/autostart I would like to log the ...
2 votes
2 answers
2k views
Unable to boot because mounting /boot fails during boot
My Raspbian/Debian buster fails booting with [ TIME ] Timed out waiting for device /dev/mmcblk0p1. [DEPEND] Dependency failed for /boot. If I disable mounting of the /boot partition by commenting ...
2 votes
2 answers
388 views
Launch a Bluetooth Low Energy command after raspberry startup
I wrote a command in swift that uses the internal bluetooth low energy module of my Raspberry PI 4. This command must be launched as superuser. Everything works perfectly if I launch the executable ...
0 votes
2 answers
338 views
Configure GPIOs output upon system start [duplicate]
I'm using to systemd to launch my application and on starting the application the GPIO07 is configured as Output and set to High I want to set it to low as the system startup.
3 votes
0 answers
3k views
How to auto run moonlight-qt in console after auto login?
moonlight-qt runs in the terminal without desktop environment fine but I would like it to auto launch after auto login. I tried creating systemd service to do this but nothing happened. [Edit] This is ...
1 vote
2 answers
5k views
Connect to vpn network on startup
I have installed openvpn on my raspberry pi: sudo apt-get install openvpn I can connect to my VPN server with command: sudo openvpn confyg.ovpn Everything runs fine, but what is the best way to ...
0 votes
0 answers
404 views
Start mono application on startup
This is my first time using a linux/rasbperry pie and I am trying to start a program I made in c# on my windows on startup. It has a graphical user interface, and can run from the command line using ...
1 vote
1 answer
1k views
Sound playback trough bluealsa-aplay not working as a service
I am trying to manually setup my raspberry pi 4 as a Bluetooth audio receiver, but there is no sound playback when I start the bluealsa-aplay service I created. It only works when I run the bluealsa-...
0 votes
1 answer
599 views
Systemd service not updating
I have a service on my Raspberry Pi which runs a bash file on boot. I recently updated the bash file (run.sh) but the service is not reflecting the update. So far I have tried: sudo systemctl disable/...