summaryrefslogtreecommitdiffstats
path: root/conf.d/packaging/rpm/agl-xds-server.spec
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-10-26 16:31:35 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-10-26 14:36:42 +0000
commit24581d461e7c9b87836384cd4c38cb2bd7147459 (patch)
tree9d1e9cafee5331b6384814f574b21f2c2683d771 /conf.d/packaging/rpm/agl-xds-server.spec
parenta740425411f120ff7263f16f268e7efd7c19b311 (diff)
Removed incorrect setting for systemd service
xds-server.service aims to be a user systemd service. So the user must enable/disable/start/stop xds-server.service user systemd service manually using for example following commands: systemctl --user enable xds-server.service systemctl --user start xds-server.service Change-Id: Ia5cbcb684f07843c4b774bb5666c01f659af6b3d Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'conf.d/packaging/rpm/agl-xds-server.spec')
-rw-r--r--conf.d/packaging/rpm/agl-xds-server.spec3
1 files changed, 0 insertions, 3 deletions
diff --git a/conf.d/packaging/rpm/agl-xds-server.spec b/conf.d/packaging/rpm/agl-xds-server.spec
index 25a6515..27d8d6b 100644
--- a/conf.d/packaging/rpm/agl-xds-server.spec
+++ b/conf.d/packaging/rpm/agl-xds-server.spec
@@ -42,7 +42,6 @@ mkdir -p %{?buildroot}/%{_sysconfdir}/default
cp ./conf.d/etc/default/xds-server %{?buildroot}/%{_sysconfdir}/default/
mkdir -p %{?buildroot}/%{_sysconfdir}/xds/server
cp ./conf.d/etc/xds/server/* %{?buildroot}/%{_sysconfdir}/xds/server/
-mkdir -p %{?buildroot}%{_userunitdir}/default.target.wants && ln -s ../xds-server.service %{?buildroot}%{_userunitdir}/default.target.wants/
mkdir -p %{?buildroot}%{_sysconfdir}/profile.d
sed -e "s;@XDS_INSTALL_BIN_DIR@;%{_bindir};g" ./conf.d/etc/profile.d/xds-server.sh > %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh
@@ -63,8 +62,6 @@ sed -e "s;@XDS_INSTALL_BIN_DIR@;%{_bindir};g" ./conf.d/etc/profile.d/xds-server.
%config %{_sysconfdir}/profile.d/%{name}.sh
%dir %{_userunitdir}
%{_userunitdir}/xds-server.service
-%dir %{_userunitdir}/default.target.wants
-%{_userunitdir}/default.target.wants/xds-server.service
%post