Эх сурвалжийг харах

service for autostart added as a config file

Dev Server 1 жил өмнө
parent
commit
430843f88f
1 өөрчлөгдсөн 3 нэмэгдсэн , 0 устгасан
  1. 3 0
      install_unix.sh

+ 3 - 0
install_unix.sh

@@ -3,6 +3,7 @@ git clone -b unstable https://git.sharix-app.org/ShariX_Open/sharix-open-tickets
 git clone -b metasynced_module https://git.sharix-app.org/ShariX_Open/sharix-open-backend.git metaservicesynced
 git clone -b webinterface https://git.sharix-app.org/ShariX_Open/sharix-open-webadmin.git SharixAdmin/templates/SharixAdmin
 git clone -b master https://git.sharix-app.org/ShariX_Open/sharix-open-local.git openlocal
+git clone -b master https://git.sharix-app.org/ShariX_Open/sharix-open-config.git conf
 python3 -m venv env
 source env/bin/activate
 pip3 install --upgrade pip
@@ -12,3 +13,5 @@ python3 manage.py migrate
 python3 manage.py collectstatic
 python3 manage.py createsuperuser
 deactivate
+cp conf/sharix_open.service /etc/systemd/system/
+