Questions tagged [systemd]

Systemd is an init system developed for use on GNU/Linux, generally replacing the old SysV daemon.

Further reading:

183 questions
9
votes
3 answers

How can I delay the startup of systemd services until the datetime is set (no RTC on the Raspberry Pi)

When I shutdown and power off the Raspberry Pi 3b and then power it up again the next day, I get wrong starting date/time printed when checking sudo systemctl status DustSensor. The printed date/time is from the date/time of the shutdown. How can I…
monok
  • 255
  • 1
  • 3
  • 11
3
votes
2 answers

Upgrading systemd version on raspberry pi 3

I am trying to update my pi3's systemd version from 215 to the newest build. Does anyone know is this is possible or not? Thank you.
Zotto
  • 45
  • 1
  • 6
3
votes
2 answers

sudo: systemctl: command not found

I have a Raspberry Pi 2 B+ running Btsync server, which I installed a couple of years ago. I wanted to upgrade this to Resilio Sync following their instructions on this page. All's good up up until the command sudo systemctl enable…
Inigo
  • 143
  • 1
  • 1
  • 6
1
vote
1 answer

Stop service without reboot when FailureAction=reboot is defined

I have following service, which run java my java app. There is no ExecStop defined, therefore calling systemctl stop garage kills the app and app enters into FAILED state. But then, of course, reboot (FailureAction=reboot) is performed and rpi is…
Tomas Bilek
  • 41
  • 1
  • 6
1
vote
1 answer

How to start darkice on boot using a systemd service (or alternatives)

I'm trying to start darkice each time the raspberry pi is booted. I created a file /etc/systemd/darkice.service like this description = darkice_radio_streamer After = multi-user.target [Service] #Type=simple Type = Idle WorkingDirectory=/home/pi…
576i
  • 229
  • 2
  • 10
1
vote
3 answers

Systemctl not found on Buster

I recently downloaded the Buster lite installation package and have the latest updates. I get systemctl not found. The systemd files it uses are present. Apt-get systemctl fails. I need to run commands such as systemctl daemon-restart. I have…
NewtownGuy
  • 111
  • 7
1
vote
1 answer

Why this service is inactive(dead)?

i've created a py file to monitor my home network. The script it self is running ok. I've created a service with systemd that will run this script every 30 sec and copy it in /etc/systemd/system/. This is the service file: [Unit] Description=Monitor…
Bogdan
  • 11
  • 1
  • 2
0
votes
2 answers

make systemd restart a service with different parameters

I do understand from the configs how to make a service restart in case of a fail but in this case a simple restart would always result in the same fail again and again how can set a service to restart with alternative parameters? i tried to edit the…
0
votes
3 answers

What's wrong with this service file?

I am trying to start a Python3 script on boot. The script listens to a 433 MHz receiver for remote button presses, then publishes an mqtt message for matching button codes. The python code works just fine from the command line: python3…
user3573562
  • 289
  • 2
  • 6
  • 15
0
votes
1 answer

systemd service doesn't work at shutdown, only on reboot

So I have a Raspberry Pi 3B+ running Raspberry OS on Xfce GUI. I'm trying to run a script on shutdown using the advice given on this…
0
votes
1 answer

Systemd help loading things after a mount

wondering if someone can help. Setting up a seedbox and getting the last few things ironed out have a sata hat raid that i've got to mount using systemd however when I reboot minidlna and qbittorrent load before the sata hat mounts the raid which…
0
votes
1 answer

Custom systemd service stays linked

I have a custom systemd service defined in /lib/systemd/system/myservice.service: [Unit] Description=My simple service daemon After=network.target…
Hurzelchen
  • 101
  • 2
0
votes
1 answer

plexmediaserver service not starting giving Bad message on attempt

plexmediaserver service is not starting what should I do, all i was trying to make external hard drive accessible while attempting to add plex to pi andpi group to plex everything stopped working $ sudo systemctl status plexmediaserver ●…
Ciasto piekarz
  • 365
  • 2
  • 11
  • 27
-1
votes
1 answer

compiling systemd with kdbus miraclecast

I am trying to compile systemd with the kdbus using the PKGBUILD of this following documentation.(https://github.com/albfan/miraclecast/issues/61). I don't quite understand how this is done. I am running arch arm on the raspberry pi 3. I think my…
Zotto
  • 45
  • 1
  • 6