fix: use a working example (#13)

Fedora 40 broke the example for editing systemd configuration behavior.
Decided to use a simpler example.
This commit is contained in:
Noel Miller 2024-04-23 13:52:34 -05:00 committed by GitHub
parent 7427e32030
commit b1e074e911
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -ouex pipefail
@ -18,10 +18,6 @@ rpm-ostree install screen
# this would install a package from rpmfusion
#RUN rpm-ostree install vlc
#### Example for enabling a System Unit File
#### Change to System Configuration Files
# this example modifies default timeouts to prevent slow reboots from services that won't stop
sed -i 's/#DefaultTimeoutStopSec.*/DefaultTimeoutStopSec=15s/' /etc/systemd/user.conf
sed -i 's/#DefaultTimeoutStopSec.*/DefaultTimeoutStopSec=15s/' /etc/systemd/system.conf
systemctl enable podman.socket