소스 검색

fix install_service.sh script

blezz-tech 2 일 전
부모
커밋
eb49c92b69
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      bin/install_services.sh

+ 5 - 5
bin/install_services.sh

@@ -1,13 +1,13 @@
 source ./bin/utils/functions.sh
 source .env
 
-echo_warning "Recreating sharix_open.service"
-\cp conf/sharix_open.service.example conf/sharix_open.service
-sed -i "s|WORKING_DIRECTORY|$(pwd)|g" conf/sharix_open.service
-echo_success "Recreated sharix_open.service"
+echo_warning "Recreating sharix.service"
+\cp conf/sharix.service.example conf/sharix.service
+sed -i "s|WORKING_DIRECTORY|$(pwd)|g" conf/sharix.service
+echo_success "Recreated sharix.service"
 
 echo_warning "Copying sharix_open.service to /etc/systemd/system/ folder"
-\cp conf/sharix_open.service /etc/systemd/system/
+\cp conf/sharix.service /etc/systemd/system/sharix_${METASERVICE_NAME}.service
 echo_success "Copied sharix_open.service to /etc/systemd/system/ folder"
 
 echo_warning "Reloading systemd daemon"