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:
parent
7427e32030
commit
b1e074e911
1 changed files with 3 additions and 7 deletions
10
build.sh
10
build.sh
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue