mirror of
https://github.com/rocky-linux/infrastructure
synced 2024-11-30 00:46:27 +00:00
17 lines
378 B
SYSTEMD
17 lines
378 B
SYSTEMD
|
[Unit]
|
||
|
Description=noggin
|
||
|
After=network-online.target
|
||
|
Wants=network-online.target
|
||
|
|
||
|
[Service]
|
||
|
Environment=FLASK_APP=/opt/noggin/noggin/noggin/app.py
|
||
|
Environment=NOGGIN_CONFIG_PATH=/opt/noggin/noggin.cfg
|
||
|
Environment=FLASK_DEBUG=1
|
||
|
User=noggin
|
||
|
WorkingDirectory=/opt/noggin/noggin
|
||
|
ExecStart=/bin/bash /opt/noggin/start_noggin.sh
|
||
|
PrivateTmp=true
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|