From b1e074e9118e268e8c13b6c972159a0313d444d4 Mon Sep 17 00:00:00 2001 From: Noel Miller <4983138+noelmiller@users.noreply.github.com> Date: Tue, 23 Apr 2024 13:52:34 -0500 Subject: [PATCH] fix: use a working example (#13) Fedora 40 broke the example for editing systemd configuration behavior. Decided to use a simpler example. --- build.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/build.sh b/build.sh index d5fb95d..ed25b26 100755 --- a/build.sh +++ b/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