]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Add installer
authorEdward Delaporte <edward@delaporte.us>
Sun, 5 Apr 2026 07:53:51 +0000 (02:53 -0500)
committerEdward Delaporte <edward@delaporte.us>
Sun, 5 Apr 2026 07:53:51 +0000 (02:53 -0500)
install/ollama-django.service.sh [new file with mode: 0755]

diff --git a/install/ollama-django.service.sh b/install/ollama-django.service.sh
new file mode 100755 (executable)
index 0000000..afc4fb4
--- /dev/null
@@ -0,0 +1,8 @@
+ADD_SRV=ollama-django
+mkdir -p ~/.config/systemd/user
+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 enable $ADD_SRV.service
+systemctl --user status $ADD_SRV.service