2024-12-30 13:35:21 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Tandoor
|
|
|
|
After=multi-user.target
|
|
|
|
|
|
|
|
[Service]
|
2024-12-30 14:55:58 +01:00
|
|
|
WorkingDirectory={{var_tandoor_directory}}/program
|
2024-12-30 13:35:21 +01:00
|
|
|
User={{var_tandoor_user}}
|
2024-12-30 14:55:58 +01:00
|
|
|
# Environment="VIRTUAL_ENV={{var_tandoor_directory}}/program"
|
|
|
|
ExecStart="{{var_tandoor_directory}}/program/bin/python3 manage.py runserver"
|
2024-12-30 13:35:21 +01:00
|
|
|
SyslogIdentifier=tandoor
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|