blob: df252e61cacd3d761a87e239652540664e50cec2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
[Unit]
Description=securityHeader Bot
After=network.target
[Service]
ExecStart=/home/qt/.local/bin/pipenv run python3 main.py
WorkingDirectory=/home/qt/qt-securityHeader-bot/src
User=qt
Group=qt
Restart=always
# It is recommended to set environment variables in an override.conf file
# readable only to the user to protect secrets.
Environment="QTSECURITYBOT_GERRIT_USERNAME=foo"
Environment="QTSECURITYBOT_GERRIT_PASSWORD=bar"
Environment="QTSECURITYBOT_TEAMS_WEBHOOK_URL="
Environment="QTSECURITYBOT_TEAMS_ERROR_WEBHOOK_URL="
Environment="QTSECURITYBOT_PORT=8090"
[Install]
WantedBy=multi-user.target
|