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.
1,092 questions
1
vote
0
answers
42
views
Systemd service not executing on resume
Similar issue to this post: Writing a systemd service to be executed at resume
I have a service that I want executed when the computer wakes from sleep. Here is the service:
[Unit]
Description=User ...
0
votes
1
answer
39
views
Why is the service simultaneously "active with no instances" and "stopped"?
System info
Hardware: GL iNET X3000
OS: OpenWrt 21.02-SNAPSHOT
Shell: ash
Now, I will let the output speak for itself:
root@GL-X3000:~# service prometheus-node-exporter-lua restart
root@GL-X3000:~# ...
0
votes
1
answer
31
views
Why this systemd service of type "notify" won't be waited for by dependent services?
My application consists of two programs, and three processes: one main application, and two identical child processes. They are launched using some wrapper scripts, but (I think?) that it's not ...
0
votes
1
answer
67
views
How can I list the existing runit services?
In sysvinit, we could list /etc/init.d. In systemd, the solution was a systemctl --all.
What to do in runit? The sv command can only manage induvidual services, but not list them.
1
vote
2
answers
119
views
How do I shut down fwupd when it's not a service?
I'm running Devuan Excalibur (like Debian Trixie, but without systemd).
I notice that fwupd is running; and I know that on some other systems, fwupd is actually service, which can be taken down using ...
0
votes
2
answers
103
views
Service on raspberry pi only starts working after ssh
I have a rather weird and repeatable issue. I have 3 pi's, left, right, and base. The left and right have cameras and perform computer vision. They regularly send UDP packets to the base. The program ...
5
votes
2
answers
465
views
Is MemoryHigh throttling per process or per service?
When a service has configured a MemoryHigh value and this value is exceeded, the documentation says that this happens:
Memory usage may go above the limit if unavoidable, but the processes are ...
1
vote
1
answer
427
views
On my Ubuntu-based distro (Linux Lite), how to auto delete all network connections, disable Wi-Fi and networking as part of booting process?
My end goal here is to have no saved network connections, no enabled Wi-Fi or networking each time I boot up my computer, so that I have to go through a sequence of steps in order to access internet. ...
0
votes
0
answers
59
views
How to make caddy run in/from a directory as a service in Ubuntu 20.04.2?
I installed caddy with "sudo apt install caddy" and have everything setup and working, but I also want to run caddy automatically from boot.
When I use
sudo systemctl enable caddy
and ...
0
votes
1
answer
136
views
Is there a way different from restart the systemd-timesyncd service to know the synchronization status between the client and the NTP server?
On my Linux distribution I'm using the NTP client systemd-timesyncd.
Test case
The test case is:
Boot while the system is able to reach the NTP server (that is time1.google.com) by a connection to a ...
0
votes
1
answer
60
views
Resolving systemd service ordering cycle conflict
I have two service files (serva and servb) as shown below. I want serva to start first (on boot, once network is available), and servb to start only after serva has started. This should be easy, but ...
0
votes
0
answers
47
views
system service: scheduling a variable timer
I am writing a program that I would like to have the ability to schedule an action. This would work similar to the the TIME option in shutdown, where the user specifies a time and that information ...
1
vote
0
answers
79
views
Slurm jobs ignore GPU skipping in gres.conf
When I specify in gres.conf to omit the first GPU, Processes in Slurm still use the first one. If I allow Slurm to manage both, the second concurrent process properly goes onto the second GPU. Why?
...
0
votes
1
answer
81
views
Is it safe to clean up (delete) references to missing systemd units?
List missing services
systemctl --state=not-found --all
Output:
UNIT LOAD ACTIVE SUB DESCRIPTION
● boot.automount not-found ...
0
votes
1
answer
171
views
User systemd exited and removed semaphores
I use a systemd service to start several processes when Ubuntu 20.04 starts up.
# MyApp start app service
[Unit]
Description=MyApp start service
Requires=network-online.target
After=network-online....