14 lines
318 B
Text
14 lines
318 B
Text
|
[Unit]
|
||
|
Description=Tandoor
|
||
|
After=multi-user.target
|
||
|
|
||
|
[Service]
|
||
|
WorkingDirectory={{var_tandoor_directory}}
|
||
|
User={{var_tandoor_user}}
|
||
|
# Environment="VIRTUAL_ENV={{var_tandoor_directory}}"
|
||
|
ExecStart="{{var_tandoor_directory}}/bin/python3 manage.py runserver"
|
||
|
SyslogIdentifier=tandoor
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|