|
@@ -1,17 +1,17 @@
|
|
source ./bin/utils/functions.sh
|
|
source ./bin/utils/functions.sh
|
|
source .env
|
|
source .env
|
|
|
|
|
|
-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 "Recreating sharix_main.service"
|
|
|
|
+\cp conf/sharix_main.service.example conf/sharix_main.service
|
|
|
|
+sed -i "s|WORKING_DIRECTORY|$(pwd)|g" conf/sharix_main.service
|
|
|
|
+echo_success "Recreated sharix_main.service"
|
|
|
|
|
|
-echo_warning "Copying sharix_open.service to /etc/systemd/system/ folder"
|
|
|
|
-\cp conf/sharix.service /etc/systemd/system/sharix_${METASERVICE_NAME}.service
|
|
|
|
-echo_success "Copied sharix_open.service to /etc/systemd/system/ folder"
|
|
|
|
|
|
+echo_warning "Copying sharix_main.service to /etc/systemd/system/ folder"
|
|
|
|
+\cp conf/sharix_main.service /etc/systemd/system/sharix_main.service
|
|
|
|
+echo_success "Copied sharix_main.service to /etc/systemd/system/ folder"
|
|
|
|
|
|
echo_warning "Reloading systemd daemon"
|
|
echo_warning "Reloading systemd daemon"
|
|
systemctl daemon-reload
|
|
systemctl daemon-reload
|
|
echo_success "Reloaded systemd daemon"
|
|
echo_success "Reloaded systemd daemon"
|
|
|
|
|
|
-systemctl enable sharix_${METASERVICE_NAME}.service
|
|
|
|
|
|
+systemctl enable sharix_main.service
|