thor-conf@instance.service.in 444 B

12345678910111213
  1. [Unit]
  2. Description=generating %i configuration file and @RUNTIME_PATH@/%i/%i.cfg
  3. After=hpcc-conf@%i.service
  4. Requires=hpcc-conf@%i.service
  5. [Service]
  6. Type=oneshot
  7. User=@RUNTIME_USER@
  8. Group=@RUNTIME_GROUP@
  9. ExecStart=@ADMIN_PATH@/check-component-exists.sh %i
  10. ExecStart=/bin/mkdir -p @RUNTIME_PATH@/%i @LOG_PATH@/%i @PID_PATH@ @LOCK_PATH@/%i
  11. ExecStart=/bin/bash -c "/bin/sed -e 's/export //g' @RUNTIME_PATH@/%i/setvars >> @RUNTIME_PATH@/%i/%i.cfg"