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
0
votes
0answers
49 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&...
1
vote
0answers
16 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 ...
0
votes
1answer
53 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 ...
0
votes
1answer
34 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 ...
0
votes
0answers
20 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 ...
0
votes
0answers
36 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 ...
0
votes
0answers
61 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 ...
0
votes
1answer
1k 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 /...
0
votes
1answer
2k 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=&...
0
votes
1answer
100 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 ...
1
vote
2answers
244 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/...
0
votes
0answers
116 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 ...
0
votes
2answers
86 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/ ...
1
vote
1answer
27 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 ...
1
vote
0answers
677 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 ...
0
votes
1answer
37 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 ...
0
votes
0answers
83 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 ...
1
vote
1answer
57 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 ...
2
votes
5answers
3k 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 ...
0
votes
1answer
182 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 ...
0
votes
0answers
146 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 ...
0
votes
1answer
299 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-...
2
votes
2answers
355 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 ...
3
votes
2answers
667 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....
2
votes
1answer
1k 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 ...
0
votes
0answers
576 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 ...
0
votes
1answer
80 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
1answer
493 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 ...
0
votes
0answers
28 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 ...
1
vote
2answers
669 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 ...
0
votes
1answer
4k 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 ...
0
votes
2answers
520 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 ...
3
votes
1answer
2k 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 ...
-1
votes
1answer
59 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 ...
2
votes
1answer
86 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 ...
1
vote
1answer
768 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 ...
0
votes
1answer
64 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 ...
1
vote
1answer
39 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 ...
3
votes
1answer
2k views

Start Service with Sudo

I am trying to run an Express API server with sudo permissions and have it automatically start on boot. The API needs access to bcm2835 library, and I get the following when trying to run node server....
0
votes
1answer
399 views

running python script as service and calling functions from another program

I have a python script to control some LEDS. In a compiled c++ program I have been calling python scripts like so in various places: system("python /home/pi/leds_flash.py") system("python /home/pi/...
0
votes
1answer
3k views

Not able to start the Plex Media Server on my Raspberry 3 anymore

I currently have the problem, that my Plex Media Server, which is set up on a Raspberry Pi 3 Model B, cannot be started. When I hit sudo service plexmediaservice status, I get the following error: pi@...
1
vote
3answers
1k views

Boot: multi-user.target starting late

My Raspberry Pi Zero running Raspbian Stretch Lite (2018-10-09) seems to be slow at boot. First off, the state of the OS: It is basically a freshly installed image on a properly working Class 10 SD ...
0
votes
2answers
340 views

How to make a service to run a python script which includes browser automation

I have python script which is using selenium web driver to do some web automation task. This python code is running perfectly fine when I am running it from the terminal. It launches firefox and does ...
1
vote
0answers
361 views

rfcomm service not working for Bluetooth over serial

I'm trying to connect with a terminal to my Raspberry Pi over Bluetooth, however with my current configuration (which is what I have found in numerous places online) when any device pairs and connects ...
4
votes
1answer
1k views

Service failing to wait for internet connection

I'm strying to make my systemd service start after internet connection has been established. I read several questions on this forum, but no success so far. The error is analog to Invalid host: ...
-1
votes
1answer
581 views

Service won't run python srcipt with privileges RASPBIAN JEESIE

I have script in python that need to be run with "sudo" keyword. Everything because I'm accessing "/dev/mem". Now I need to start this python script on RPi startup. So I create simple service that ...
1
vote
1answer
1k views

"service restart" working although init.d script doesn't support "restart"

I wrote the following script /etc/init.d/tomcat in order to manage my manually-installed Apache Tomcat server as a service: #!/bin/sh # # /etc/init.d/tomcat -- startup script for the Tomcat servlet ...
6
votes
1answer
7k views

How to stop XRDP service from autostarting

I'm using Raspbian Stretch and I installed XRDP from APT: sudo apt-get install xrdp After that, the XRDP service is started automatically on boot. Now, I would like to disable the autostart, so I ...
1
vote
2answers
2k views

Can I fix memory leaks of a chromium tab by killing and restarting the tab or chromium?

I'm running a raspberry with a small monitor in kiosk mode, which means: it's running a full-screen chromium tab all around the clock. The problem is that I have noticed that there are many websites ...
2
votes
2answers
5k views

Python script does not run when called by service

I have written a python program that continuously parses my current IP and emails it to me if it changes that I want to begin running as soon as the computer boots up: /home/pi/sendIP.py#note that ...