Category "systemd"

Systemd unit file escaping issue

I am wanting to generate a secret key for a django project, that runs using podman run --new, so it generates a new container from scratch when the machine is r

Docker over CentOS 8 Fails to start after prev container with systemd ran

Trying to test docker containers over server with CentOS 8.5 Server. The container has CentOS 7.9 within it. Entrypoint for it is /usr/sbin/init. First launch:

How to set LD_PRELOAD in systemd

I want to hook some functions in libssl with LD_PRELOAD in systemd. In systemd file I put ExecStart=/etc/myscript.sh and in /etc/myscript.sh I put #!/bin/sh LD

run script when chrony steps clock

I need to start a certain service after system clock was correctly stepped by crony. System time is maintained by chrony (chronyd (chrony) version 3.5 (+CMDMON

Systemd consumer service starts before broker (RabbitMQ )

I have a RabbitMQ server set up on my raspberry Pi and I want the same device to run a consumer to handle messages to one of my queues. I first tried executing

Odoo15 - ModuleNotFoundError: No module named 'PyPDF2'

I'm new to Odoo. I use pyenv to host odoo and all the dependencies. All under odoo system user, and I was able to start odoo service: ~# systemctl status odoo-1

How to only show output from shell script that is running as a service?

I write a shell script and installed it on systemctl to run on startup, everything works fine, however if i run "systemctl status myservice" it shows all my scr

Virtual wlan interface with systemd-netword

i would like to ask how i can add a virtual wifi interface permanently on a system that runs systemd-networkd. The purpose is to have 2 access points (2.4/5ghz)

Setting up gunicorn.service [Service] for Django app

Following the documentation and online tutorials on setting up my gunicorn.service results in ModuleNotFoundError: No module named 'my-app' when I run sudo syst

Why does Systemd_Wants not pass a parameter to a service file from a udev "Remove" rule?

I am trying to use udev rules and systemd to mount and unmount a USB key. I am basing my solution below on an example from this blog where ENV{SYSTEMD_WANTS} is

Error running systemctl to start service in Amazon Linux 2

I am trying to build a simple Apache/PHP server using the Amazon Linux 2 image. I have the following: Dockerfile FROM amazonlinux:2 RUN amazon-linux-extras ins

Add dependency between two systemd services to start again if one of them is killed

I have two systemd services A.service and B.service in /etc/systemd/system/ directory. Below is the configuration in A.service [Unit] Description=A Service [Se

SystemD service script will work on Systemctl start {service script} but not on reboot

I am trying to right a systemd service script to perform a task on reboot. Below is the script and it works when I run 'systemctl start script.service but not w