X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/blobdiff_plain/4bba13f33ece2c3d14a26767c0ebf512629297eb..06c8b0d351006211342675aa8ccf2814442e70af:/install/ollama-django.service.sh diff --git a/install/ollama-django.service.sh b/install/ollama-django.service.sh index afc4fb4..05cd82e 100755 --- a/install/ollama-django.service.sh +++ b/install/ollama-django.service.sh @@ -4,5 +4,8 @@ rm ~/.config/systemd/user/$ADD_SRV.service ln -s ~/dotfiles/files/autostart/$ADD_SRV.service ~/.config/systemd/user/ ls -al ~/.config/systemd/user systemctl --user daemon-reload +systemctl --user import-environment DJANGO_ALLOWED_HOSTS +systemctl --user import-environment DJANGO_SECRET_KEY +systemctl --user import-environment OLLAMA_HOST systemctl --user enable $ADD_SRV.service systemctl --user status $ADD_SRV.service