feat: refactor to ymsctl & yms-daemon
This commit is contained in:
@@ -12,11 +12,12 @@ Summary: YMS update daemon
|
||||
License: Proprietary
|
||||
Requires: systemd
|
||||
|
||||
Source0: yms-daemon
|
||||
Source0: ymsd
|
||||
Source1: yms-daemon.toml
|
||||
Source2: yms-daemon.service
|
||||
Source3: yms-backend@.service
|
||||
Source4: yms-daemon-tmpfiles.conf
|
||||
Source5: ymsctl
|
||||
|
||||
%description
|
||||
Transactional update daemon and native backend systemd units for YMS installations.
|
||||
@@ -27,7 +28,8 @@ Transactional update daemon and native backend systemd units for YMS installatio
|
||||
|
||||
%install
|
||||
install -d -m 0755 %{buildroot}/usr/bin
|
||||
install -m 0755 %{SOURCE0} %{buildroot}/usr/bin/yms-daemon
|
||||
install -m 0755 %{SOURCE0} %{buildroot}/usr/bin/ymsd
|
||||
install -m 0755 %{SOURCE5} %{buildroot}/usr/bin/ymsctl
|
||||
|
||||
install -d -m 0755 %{buildroot}/etc/yms-daemon
|
||||
install -m 0640 %{SOURCE1} %{buildroot}/etc/yms-daemon/yms-daemon.toml
|
||||
@@ -71,7 +73,8 @@ fi
|
||||
%attr(0644,root,root) /etc/systemd/system/yms-daemon.service
|
||||
%attr(0644,root,root) /etc/systemd/system/yms-backend@.service
|
||||
%attr(0644,root,root) /etc/tmpfiles.d/yms-daemon.conf
|
||||
%attr(0755,root,root) /usr/bin/yms-daemon
|
||||
%attr(0755,root,root) /usr/bin/ymsd
|
||||
%attr(0755,root,root) /usr/bin/ymsctl
|
||||
%dir %attr(0755,root,root) /home/yms/dump
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user