fastdfs.spec: systemctl enable services

master
YuQing 2024-05-15 14:23:35 +08:00
parent aef5984bd8
commit f1650d9b45
1 changed files with 4 additions and 0 deletions

View File

@ -85,6 +85,10 @@ DESTDIR=$RPM_BUILD_ROOT ./make.sh install
%files
%post -n %{FDFSServer}
systemctl enable fdfs_trackerd
systemctl enable fdfs_storaged
%files -n %{FDFSServer}
%defattr(-,root,root,-)
/usr/bin/fdfs_trackerd