]> us-delaporte.pagekite.me Git - dotfiles.git/blob - install/ollama-django.service.sh
Add help for minion
[dotfiles.git] / install / ollama-django.service.sh
1 ADD_SRV=ollama-django
2 mkdir -p ~/.config/systemd/user
3 rm ~/.config/systemd/user/$ADD_SRV.service
4 ln -s ~/dotfiles/files/autostart/$ADD_SRV.service ~/.config/systemd/user/
5 ls -al ~/.config/systemd/user
6 systemctl --user daemon-reload
7 systemctl --user import-environment DJANGO_ALLOWED_HOSTS
8 systemctl --user import-environment DJANGO_SECRET_KEY
9 systemctl --user import-environment OLLAMA_HOST
10 systemctl --user enable $ADD_SRV.service
11 systemctl --user status $ADD_SRV.service