fix location of myslice.log
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 29 Apr 2022 12:55:18 +0000 (14:55 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 29 Apr 2022 12:55:18 +0000 (14:55 +0200)
plewww.spec

index b98ba01..aa311e2 100644 (file)
@@ -106,8 +106,9 @@ for module in user node; do
 done
 popd
 # create myslice.log and change its ownership
-touch /var/log/myslice.log
-chown apache:apache /var/log/myslice.log
+mkdir -p /var/log/myslice
+touch /var/log/myslice/myslice.log
+chown apache:apache /var/log/myslice/myslice.log
 
 %clean
 rm -rf $RPM_BUILD_ROOT