Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!.

Questions tagged [systemd]

systemd is a modern replacement for the traditional Linux init. Its main features include the ability to express dependencies between services and aggressive parallelization of service startup.

Score of 0
0 answers
157 views

I've written my first systemd user service and I'm wondering what the best way is to kill it. When the script starts it up the processes look like this (output from systemctl status): ... CGroup: ...
Score of 6
2 answers
643 views

I'm developing a daemon that runs under control of systemd, and that has a feature to reload code that's inbetween "systemctl reload" and "systemctl restart". Unlike "...
Score of 0
1 answer
182 views

I am not an admin (rather a developer) but I need to script the installation and deployment of a webapi on a fresh Ubuntu server (Hetzner server but it's a detail). It's a Python API but most of the ...
Score of 0
0 answers
243 views

i am unable to setup fail2ban for restricting ssh Access since days. System: aarch64 with Raspberry Pi OS Fail2ban Version: latest (V1.1.0) Logging Architecture: provided by system-journal, not file ...
Score of 4
1 answer
131 views

I set up Redis 8.4 replication with sentinel and service registration with Hashicorp Consul on Oracle EL10.1 server stack. In order to reregister redis service with consul after failover I needed to ...
Score of 0
1 answer
98 views

As per explained in this answer https://serverfault.com/a/835588/118396 it is possible to setup DNS per interface. This can be scripted to assign DNS per new VPN interface which comes in very handy ...
Score of 0
1 answer
156 views

Simplified context Assuming you have systemd-service A.service: [Service] Type=oneshot ExecStart=touch /some/grass and a systemd-service B.service: [Service] Type=simple ExecStart=cowsay "nom ...
Score of 0
1 answer
193 views

I need to have two instances of rsyslogd running on an ubuntu 2404. One being the systems local syslog server which is locked down to enterprise standards and one for a syslog relay for collecting ...
Score of 2
0 answers
474 views

Just spent a few hours debugging a systemd service file which failed to start with status=226/NAMESPACE and no other information. Most searches offer unhinged things, like removing PrivateTmp or ...
Score of 11
3 answers
1361 views

Assuming a modern Linux host, is there any convenient way to spawn an interactive shell in the exact context systemd would use for a unit/service? Alternatively, any way to attach a shell to a running ...
Score of 0
0 answers
75 views

On the target VM I have enabled a systemd-exporter via docker and nginx as reverse proxy. So far I am getting my metrics into Grafana. systemd-exporter: image: prometheuscommunity/systemd-...
Score of 0
0 answers
73 views

I have the pacemaker setup with one resource. The resource is systemd service. I set up the monitoring interval. When I manually stop the service, I would expect that pacemaker will detect it and try ...
Score of 0
0 answers
299 views

All hosts in question are Debian 13, 6.12.57-1 (6.12.57+deb13-amd64) (NOTE: There are several things going on here; I don't which caused the "hang" problem.) I have several hosted VPS ...
Score of 1
2 answers
366 views

I have a command that by default logs to a file in the current working directory. When run from the command line, I can redirect log output to standard out with the option --log-file /dev/stdout When ...
Score of 0
1 answer
167 views

Currently, when running Tomcat in Ubuntu Server I see the following: ● tomcat.service - Apache Tomcat Web Application Container Loaded: loaded (/etc/systemd/system/tomcat.service; enabled; preset:...

15 30 50 per page
1
2 3 4 5
106