[systemd] Add django service

This commit is contained in:
2026-03-08 17:50:03 -04:00
parent b5cd8724f6
commit 43f6625756
2 changed files with 32 additions and 0 deletions

View File

@ -1,5 +1,20 @@
#+title: Project
* Notes
** Django projects
For running Django projects in the background, add an environment file to ~/.local/etc/project.env with contents like:
#+begin_src shell
DJANGO_PATH="/home/user/src/project"
DJANGO_PORT=8000
#+end_src
Then enable now the project:
#+begin_src shell
sysu enable --now django@project
#+end_src
* Backlog
** DONE Figure out why SSH key loading isn't working in terminal Emacs :personal:bug:dotfiles:emacs:ssh:
:PROPERTIES: