From b0f04c10afd3a289e9c39dde6b816406aa2ba733 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sat, 22 May 2021 19:01:15 -0400 Subject: [PATCH] enable now Signed-off-by: Christine Dodrill --- .rpm/printerfacts.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.rpm/printerfacts.spec b/.rpm/printerfacts.spec index 2878216..cfb70cc 100644 --- a/.rpm/printerfacts.spec +++ b/.rpm/printerfacts.spec @@ -29,14 +29,14 @@ fi %post if [ $1 -eq 1 ]; then /usr/bin/systemctl daemon-reload - /usr/bin/systemctl start %{name}.service + /usr/bin/systemctl enable --now %{name}.service fi if [ $1 -eq 2 ]; then /usr/bin/systemctl daemon-reload - /usr/bin/systemctl start %{name}.service + /usr/bin/systemctl enable --now %{name}.service fi -%preun +%preu #old package #uninstall if [ $1 -eq 0 ]; then