2022-08-06 19:00:44 +02:00
|
|
|
[Unit]
|
2022-08-07 23:15:19 +02:00
|
|
|
Description=Tandoor, smart recipe mangement
|
2022-08-06 19:00:44 +02:00
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
2022-08-07 03:29:06 +02:00
|
|
|
User=__APP__
|
2022-08-07 23:15:19 +02:00
|
|
|
Group=__APP__
|
2024-01-27 15:12:48 +01:00
|
|
|
WorkingDirectory=__INSTALL_DIR__/
|
|
|
|
EnvironmentFile=__INSTALL_DIR__/.env
|
|
|
|
ExecStart=__INSTALL_DIR__/venv/bin/gunicorn --bind 127.0.0.1:__PORT__ recipes.wsgi:application
|
2022-08-07 23:15:19 +02:00
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=10
|
|
|
|
|
2022-08-06 19:00:44 +02:00
|
|
|
[Install]
|
2022-08-07 23:52:20 +02:00
|
|
|
WantedBy=multi-user.target
|