New answers tagged systemd
0
votes
Service start request repeated too quickly, refusing to start limit
In my case, running Saltstack to install the package, copy files and start the service, the root cause was the configuration file for the service needing to have rw------- (0600) permissions.
I was ...
0
votes
get notification when systemd-monitored service enters failed state
The OnFailure= service way is the most "systemd way" I think. Other ways:
ExecStopPost= will execute after the service is stopped, where you can then check $SERVICE_RESULT with bash.
...
1
vote
Wait to start an app running on one server until another app on another server is fully up and running
You can't rely on Systemd solving this for you; systemd is only aware of what happens locally.
You have two alternatives:
Modify your application to enter a waiting state while checking if the ...
0
votes
systemd-cryptenroll for LUKS volume with detached header
cryptenroll can be executed on header itself
systemd-cryptenroll --tpm2-device=auto /boot/header.img
If that didn't work you can try:
Use luksOpen to open partition
cryptsetup -q luksOpen "${...
0
votes
In RHEL how does one set a default global DNS server using systemd NetworkManager instead of on a per nmcli connection basis?
Did you check the Red Hat Enterprise Linux documentation? It has an entire chapter covering this.
Chapter 21. Manually configuring the /etc/resolv.conf file
By default, NetworkManager dynamically ...
0
votes
How to run a command as systemd DynamicUser
nsenter can be easier to use than systemd-run as you don't have to repeat all the properties from the service file back to command line. This requires the service to be running.
sudo nsenter -ae -S ...
Top 50 recent answers are included
Related Tags
systemd × 1546linux × 292
ubuntu × 131
debian × 126
systemctl × 102
centos7 × 93
service × 87
journald × 74
centos × 68
docker × 56
systemd-service × 44
networking × 41
coreos × 40
bash × 39
logging × 39
ubuntu-16.04 × 38
ssh × 36
linux-networking × 35
redhat × 34
cgroup × 34
fedora × 33
journalctl × 32
ubuntu-18.04 × 31
boot × 29
openvpn × 27