diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4a07ba380338fcfa07491fb665dfa166485f98e1..f6d4197d4a87b936be48dba94238c9d54bcfa2a6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -60,6 +60,33 @@ cta_rpm:
   tags:
     - docker
 
+cta_rpm:
+  except:
+    - tags
+  stage: build:rpm
+  retry: 1
+  image: gitlab-registry.cern.ch/linuxsupport/cc7-base
+  script:
+    - cp -f continuousintegration/docker/ctafrontend/cc7/etc/yum.repos.d/*.repo /etc/yum.repos.d/
+    - yum install -y gcc-c++ cmake make rpm-build
+    - yum -y install yum-plugin-priorities yum-plugin-versionlock
+    - yum install -y git
+    - git submodule update --init --recursive
+    - cp -f continuousintegration/docker/ctafrontend/cc7/etc/yum/pluginconf.d/versionlock.list /etc/yum/pluginconf.d/
+    - yum-builddep --nogpgcheck -y build_srpm/RPM/SRPMS/*
+    - mkdir build_rpm
+    - cd build_rpm
+    - cmake -DVCS_VERSION=${CTA_BUILD_ID} ..
+    - make cta_rpm
+
+  artifacts:
+    expire_in: 30 days
+    paths:
+    - build_rpm/RPM/RPMS
+
+  tags:
+    - docker
+
 cta_tagged_rpm:
   only:
     - tags
diff --git a/cta.spec.in b/cta.spec.in
index a15ec5306120c49b6f556bb0b1a2dcebb338b830..3f9cc8e901d242446ec9778df263dad47bfde732 100644
--- a/cta.spec.in
+++ b/cta.spec.in
@@ -295,6 +295,26 @@ Utilities to faciliate working with the mediachangers
 %attr(0644,root,root) %doc /usr/share/man/man1/cta-mediachanger-dismount.1cta.gz
 %attr(0644,root,root) %doc /usr/share/man/man1/cta-mediachanger-mount.1cta.gz
 
+%package -n cta-acsd
+Summary: Tools to faciliate working with acsd in cta
+Group: Application/CTA
+Requires: logrotate
+#Requires: cta-lib = %{version}-%{release}
+Requires(pre): /usr/bin/getent, /usr/sbin/groupadd, /usr/sbin/useradd
+%description -n cta-acsd
+CERN Tape Archive:
+Tools to faciliate working with acsd in cta
+%pre -n cta-acsd
+/usr/bin/getent passwd cta || /usr/sbin/useradd -s /bin/nologin -c "CTA system account" -g tape cta
+%files -n cta-acsd
+%defattr(-,root,root)
+%attr(0755,cta,cta) %dir /var/log/cta
+#%attr(0644,root,root) %config(noreplace) /etc/logrotate.d/cta-rmcd
+#%attr(0644,root,root) %doc /usr/share/man/man1/cta-acsd.1cta.gz
+%attr(0755,root,root) %{_bindir}/cta-acsd
+#%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/cta-rmcd.conf
+%attr(0644,root,root) %config(noreplace) /etc/sysconfig/cta-acsd
+%attr(0644,root,root) /etc/systemd/system/cta-acsd.service
 
 %package -n cta-rmcd
 Summary: Tools to faciliate working with rmcd and smc in cta
diff --git a/mediachanger/acs/daemon/CMakeLists.txt b/mediachanger/acs/daemon/CMakeLists.txt
index 8023601d2f2b984fc55262ebb43cdebbecafa509..fac8085547aecfef8b575aac73927c674aef70df 100644
--- a/mediachanger/acs/daemon/CMakeLists.txt
+++ b/mediachanger/acs/daemon/CMakeLists.txt
@@ -45,6 +45,12 @@ target_link_libraries(
   zmq
   ${STK_LIBRARIES})
 
+install (TARGETS cta-acsd DESTINATION /usr/bin)
+install (FILES cta-acsd.1cta DESTINATION /usr/share/man/man1)
+install (FILES cta-acsd.logrotate DESTINATION /etc/logrotate.d RENAME cta-acsd)
+install (FILES cta-acsd.sysconfig DESTINATION /etc/sysconfig RENAME cta-acsd)
+install (FILES cta-acsd.service DESTINATION /etc/systemd/system)
+
 add_library (ctamediachangeracsdaemonunittests SHARED AcsdCmdLineTest.cpp AcsdCmdLine.cpp)
 set_property(TARGET ctamediachangeracsdaemonunittests PROPERTY SOVERSION "${CTA_SOVERSION}")
 set_property(TARGET ctamediachangeracsdaemonunittests PROPERTY   VERSION "${CTA_LIBVERSION}")
diff --git a/mediachanger/acs/daemon/cta-acsd.service b/mediachanger/acs/daemon/cta-acsd.service
new file mode 100644
index 0000000000000000000000000000000000000000..b6c4c395248e37320ddcd74d158645c546e3810e
--- /dev/null
+++ b/mediachanger/acs/daemon/cta-acsd.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=CERN Tape Archive (CTA) acsd daemon
+After=syslog.target network-online.target
+
+[Service]
+EnvironmentFile=-/etc/sysconfig/cta-acsd
+ExecStart=/usr/bin/cta-acsd ${CTA_ACSD_OPTIONS}
+LimitCORE=infinity
+Type=forking
+Restart=no
+
+[Install]
+WantedBy=default.target