Questions tagged [services]

A Linux service is an application (or set of applications) that runs in the background waiting to be used, or carrying out essential tasks.

Filter by
Sorted by
Tagged with
1 vote
1 answer
34 views

Problems with start service automatically on boot

I'm developping a dotnet core service to run in rpi4, and when i execute the service with "dotnet run rpiservice.dll" the code executes normally. So, i created a .service file and insert in /...
FelipeFonsecabh's user avatar
0 votes
2 answers
75 views

Run python script as systemd service

I'm trying to invoke a python script as a service AND send it's output to a logfile. I created the following file; /etc/systemd/system/rfsensor.service, with contents: [Unit] Description=rfsensor ...
NigelS's user avatar
  • 3
0 votes
0 answers
47 views

Raspberry Pi boot time issue

I am using Raspberry pi 3b+ and trying to reduce the boot time from power-on, till the GUI is shown(desktop mode). What basically happens is after power-on it takes some time to show the splash screen ...
John Mist's user avatar
0 votes
4 answers
86 views

Run systemd timer periodically but not on boot

I would like to run a script every 30 minutes on my RbPi, but not immediately after boot. Example: If I boot my RbPi at 15:15, the script should run at 15:30 not before. Setup: My RbPi has no ...
Pa Dalton's user avatar
0 votes
0 answers
74 views

network.target stays dead, causing troubles for dnsmasq.service

I'm having issues with dnsmasq.service, caused by network.target I've seen people having problems with network.target but for them it was caused by network-online.target. But it works fine for me ● ...
Matt's user avatar
  • 1
0 votes
1 answer
21 views

Raspbian Show Service status via LED not finding substring in output

So im trying to make a Python script that constantly tests if a services is running and output the status via a red LED. I have a script: import RPi.GPIO as GPIO import time import os ...
Steve's user avatar
  • 9
0 votes
0 answers
146 views

Open command line in running service

So I made a minecraft server on my RaspberyPi 4 on Rasberry OS. I created a service so I can run it in the background. But now I wanna know if I can "open" the command line to run some admin ...
Samoht's user avatar
  • 1
2 votes
3 answers
189 views

Cannot SSH into periphery RPis from master RPi using python script automated from crontab: Host key verification failed

Project Overview I have a series of RPi 3B+ which collect T/RH data using connected sensors. These "periphery" units collect data every 5 minutes, append the data to a CSV file that holds a ...
Fruity Fritz's user avatar
0 votes
0 answers
273 views

Restore internet connectivity without Raspberry Pi reboot

Occasionally, my Raspberry Pi 4 disconnects from internet. This unwanted disconnection seems to be due to some errors from wi-fi module drivers. Here is an excerpt of the kernel log: ieee80211 phy0: ...
rudicangiotti's user avatar
-1 votes
1 answer
640 views

shutdown/reboot raspberry using GPIO - doesn't work for me

I need my raspberry Pi to turn OFF automatically when I press a button, so I've forked the Adafruit-GPIO-halt project and created a slight modified version of it here. I've modified the C code and the ...
orestino's user avatar
1 vote
1 answer
477 views

How to check/see systemctl's running script logs?

Context, I have a python script added to services on systemctl to start on boot. Thing is, I want to be able to check the actual script's logs, in case there are issues. I tried using the journalctl ...
BryceSoker's user avatar
1 vote
1 answer
2k views

Disable systemd-random-seed

I am looking to speed up the boot time on my Raspberry pi and systemd-random-seed is taking 20s (old Pi 1). From what I've read up this is waiting to collect entropy to generate a system random seed. ...
Spencer's user avatar
  • 107
0 votes
1 answer
515 views

Running python GUI application with PyQt and python-vlc as a service

I'm trying to run a python GUI application as a service. The application is using PyQt5 and python-vlc packages. I have the following service file: [Unit] Description="Python VLC Service Test&...
Kwigon's user avatar
  • 1
0 votes
2 answers
201 views

SSL certificate for multiple dock containers running on RPI 4

Hi guys I have a question regarding docker containers and ssl certificates. I want to install more than one docker containers like pi hole , Bitwarden and motioneye . To access them I have to type ...
user133742's user avatar
0 votes
1 answer
224 views

Service does not start at boot time

I am running a Flask application on my RPi successfully by issuing the following command export FLASK_APP=/opt/fzwk-access-source/app.py && flask run --host 0.0.0.0 Now, my next goal is ...
appfrosch's user avatar
  • 101
0 votes
1 answer
154 views

Downloads stop when I close Putty. What is happening?

I have Deluge P2P installed on my Raspery Pi. It seems the downloads stop when I close Putty, even though the Raspery Pi is still powered on. Should this happen? How can I prevent it? I don't have ...
HoisZyrian's user avatar
0 votes
0 answers
28 views

When should something be registered as a service?

I've red a few tutorials on how to set P2P clients up, specifically Deluge. For some reason all of them say to register it as a service. Why is this? I've just been starting it manually in the ...
HoisZyrian's user avatar
0 votes
0 answers
204 views

Howto self-restart a service when network link goes down?

I have a VPN using L2P/IPsec. A service I created establishes the ppp0 interface and tunnel. The service basically executes a shell script that does all the work. I can start/stop the service and all ...
keratos's user avatar
0 votes
0 answers
148 views

Check if Raspivid service is running?

I am creating a program the requires the following: Check if raspivid is currently running. Check if its running out of a services file. if it is running out of a specific file, determine which ...
Bowman's user avatar
  • 1
0 votes
1 answer
7k views

How do I manually start/stop the motion service from a program?

I have successfully set up motion to run at boot up on a Raspberry Pi running buster Debian Linux. Now I want to start and stop the service from within my Python program. I started by changing the /...
John Gauthier's user avatar
0 votes
1 answer
6k views

Why dhcpcd.service failed for auto matically alllow ip address

I using Raspbery pi zero w. my dhcpcd.service always fail, I do not know the reason: my linux is: PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID=&...
user504909's user avatar
0 votes
1 answer
290 views

Do I need to stop services when performing a full system backup of Raspberry OS on a RPi4 using rsync?

Well I guess the title is pretty self-explanatory but to put a little more words on, I want to use rsync to perform a weekly, incremental backup of my RPi4 which is hosting Pi-Hole, Unbound DNS and ...
problemshavearisen's user avatar
2 votes
2 answers
609 views

Unable to auto livestream when booting - enable .service does not work (failed to enable unit: Invalid argument)

I want to set up a service that starts a livestream when booting the rasp. I have been following this tutorial: domoticproject.com/creating-raspberry-pi-service This is what my .service in /lib/system/...
enroot's user avatar
  • 23
0 votes
0 answers
145 views

All in one Raspberry pi Server?

Does Grafana server + influxDB + ChirpStack Gateway OS full runs on same Raspberry pi that RAK2245 mounted gateway? As you know latest raspberry pi 4 have 8gb ram. I will only monitor about 20-30 ...
user1342448's user avatar
0 votes
2 answers
206 views

Trying to install OrientDB a run it as service

I'm trying to install OrientDB on my Raspberry 3, and configure it to run it as a service. I'm following the instruction found at here. I downloaded the binaries, and unpacked them at /opt/orientdb/ ...
Pascal's user avatar
  • 103
2 votes
1 answer
68 views

Does Raspbian start its automatic services/daemons when it's turned or when someone logs in?

I'm using Raspbian. I connect through Putty. My question is, before I connect with Putty, is the Pi actually doing anything or is it just sitting their idly? Before logged in, does it start the ...
HoisZyrian's user avatar
1 vote
0 answers
1k views

My raspbian buster is stuck at Splash Screen with polkit.service!

I was working fine with my Rpi4 this morning. Next time when I started it was okay. Then there was some resolution issue. so I went into raspi-config and disabled the OpenGL. After a restart my PC is ...
Sohan Arafat's user avatar
  • 1,828
0 votes
1 answer
70 views

Problem with launching webpage at boot

I am facing some issues starting a webpage with my raspberry pi at boot. I created a web weather dashboard with some widgets and I want my raspberry pi to start this webpage at boot. My raspberry ...
Julien's user avatar
  • 3
0 votes
0 answers
96 views

Cannot setup Samba

I want to access files from my Raspberry on my Windows machine. I did it previously, but I resetted both my devices some time ago. I haven't made any advanced network configurations to them yet. I ...
uIM7AI9S's user avatar
  • 101
1 vote
1 answer
78 views

Troubleshooting my project xorg error. Services not booting

My /etc/X11/xorg.conf is empty i did have a 99-calibration.conf I put in /etc/X11/xorg.conf.d/ but I had to make the xorg.conf.d/ dir so i migth have already messed up before. Now starting the pi ...
Meow's user avatar
  • 29
3 votes
5 answers
7k views

Which services on the Pi are mandatory and optional?

I am looking to make the Pi more responsive by disabling unneeded service. I am looking to disable services in /etc/init.d (and anywhere else if there are other places) and want to find a list ...
Lightsout's user avatar
  • 429
0 votes
1 answer
601 views

Switch back from WLAN AccessPoint to normal WLAN client

I configured my Raspi (3B+, Raspbian Stretch) as a WLAN Access Point, as described here: https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md Now I want to switch my Raspi ...
Christoph Bimminger's user avatar
0 votes
0 answers
218 views

Python app scheduler issue on Raspberry pi, i got error like this "python[2132]: WARNING:apscheduler.scheduler:Execution of job"

I an using Raspberry PI zero W and connected 5 sensors to getting reading from sensors. i used services for start the sensors scripts and i installed python apscheduler for time sequence. Sometime ...
Nagaraj's user avatar
  • 119
0 votes
1 answer
713 views

openvpn exits with error 1194 port already in use

I have pivpn installed on my raspbian stretch running on 1194 port. in the beginning it was working fine , but now from few days I am getting this error on reboot. Sep 26 21:17:29 titan ovpn-bridge-...
Ciasto piekarz's user avatar
2 votes
2 answers
823 views

Determining how specific services were started?

I have a Raspberry Pi which is running well, and am looking at creating a status app for it. I have some services that are run on startup, and I want my app to check that they are running, and if not ...
Midavalo's user avatar
  • 170
3 votes
2 answers
1k views

Can't establish SSH connection in systemd.service

I created following service: [Unit] Description=Server Tunneling After=network-online.target Wants=network-online.target [Service] Type=simple ExecStart=ssh -R server-login:80:localhost:8003 serveo....
Tobi696's user avatar
  • 151
2 votes
1 answer
3k views

isc-dhcp-server can't bind to dhcp address

I'm trying to set up an ethernet DHCP server on a Raspberry Pi to connect one device via eth0 and give it an ip address, but I cannot for the life of me get the service to start. This won't be an ...
Moff Kalast's user avatar
0 votes
0 answers
1k views

Can't restart failed services

I have two processes in my Pi that are stuck in the failed status. The output of systemctl --failed is: ● lighttpd.service loaded failed failed Lighttpd Daemon ● wpa_supplicant.service ...
Adam Everett's user avatar
0 votes
1 answer
170 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....
Louise's user avatar
  • 1
-3 votes
1 answer
703 views

software copy protection in raspberry pi [closed]

i need to ensure that even if my executable C/C++ codes are copied to another raspberry Pi (dumping the SDcard), they will not run there. what are the possible ways to do this. Update: adding "PI ...
hossein valizadeh's user avatar
0 votes
0 answers
32 views

The application stalls when the service is loaded at startup

I have RPI3B + with Raspian Stretch on which I run the QT application. When I create my service to launch the application after starting the rpi i have problems.. The application starts and then the ...
Sqwerize's user avatar
1 vote
2 answers
1k views

Running pygame and webcam works from command line not when using a service

I am writing a small program for a Museum display that captures a still from a webcam, displays it on screen, waits a few seconds and takes another, loop forever. This all works fine from the command ...
archdata's user avatar
0 votes
1 answer
5k views

Running a Python script as a service file on boot

I have a Python script (that works) set up and I want to run it automatically every time the Raspberry Pi is on. I have read that I need to create a unit file and I have done so, but whenever I try ...
xoani's user avatar
  • 305
0 votes
2 answers
1k views

Restart Pi after ping failure?

I have been creating a prototype using Pi Zeros, they work great at my house but are failing often at customer's site (other side of country). I do not know if the Pi kernel is crashing or if it's ...
Logic1's user avatar
  • 99
4 votes
1 answer
3k views

Docker 'core-dump' error when starting service

I'm using a Raspberry Pi 1 Model B. I've just installed using the easy script: curl -sSL https://get.docker.com | sh install results: # Executing docker install script, commit: 4957679 + sudo -E ...
jimjamz's user avatar
  • 73
-1 votes
1 answer
75 views

Python program runs with 'python3 progfile.py' but fail to start as service

I installed a python program from a github repo with an automatic script. It is configured to launch itself as a service on startup, and everything seems working fine. I edited the 'py' file to change ...
Noisemaker's user avatar
2 votes
1 answer
171 views

Monitoring NICs on the Pi

Is it possible to have a script running as a service constantly monitor certain NICs and alert me throught LEDs if one of them has been disconnected or is not properly detected by the OS? Would ...
user942937's user avatar
1 vote
1 answer
902 views

Running a Python Script with Tensorflow via systemd doesn't work, but running the same script via the terminal works

I have successfully coded a Python 3 Script that detects objects in a frame given my the camera. Based on those objects detected, I run commands and logic. I have tested this and I can run it via the ...
Razgriz's user avatar
  • 175
0 votes
1 answer
74 views

Functioning Script for Access Point Which Fails When Run as a Service

In order to reach my Raspberry Pi 3 B +, I need it to broadcast an access point upon booting. I am aware that there are common issues with crontab @reboot and systemctl running when networking is ...
Gaius-Velleius's user avatar
1 vote
1 answer
57 views

Getting Service status and automatic mounting of external drives

I have following bash script, I wanted to add few more things to it: (This script runs from root cronjob every 6 hours). Device is Raspberry Pi running raspberian. #!/bin/bash # Script: temp_email.sh ...
Parth Maniar's user avatar