systemctl daemon-reload
if [ $1 = 1 ]; then
- systemctl enable %{name}.service
+ systemctl enable askuser.service
fi
-systemctl restart %{name}.service
+systemctl restart askuser.service
%preun
if [ $1 = 0 ]; then
- systemctl stop %{name}.service
+ systemctl stop askuser.service
fi
%postun
%files -f %{name}.lang
%manifest %{name}.manifest
%license LICENSE
-%attr(755,root,root) /usr/bin/%{name}
-/usr/lib/systemd/system/%{name}.service
+%attr(755, root, root) /usr/bin/askuser
+/usr/lib/systemd/system/askuser.service
%files -n libaskuser-common
%manifest libaskuser-common.manifest