aboutsummaryrefslogtreecommitdiffstats
path: root/qtwayland_bot.service
blob: 3e159309da33f2a7bba08415e771a9591a2742dd (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=qtWayland Bot
After=network.target

[Service]
ExecStart=/home/qt/.local/bin/pipenv run python3 qtwaylandbot.py
WorkingDirectory=/home/qt/qt-wayland-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="QTWAYLANDBOT_GERRIT_USERNAME=foo"
Environment="QTWAYLANDBOT_GERRIT_PASSWORD=bar"
Environment="QTWAYLANDBOT_TEAMS_WEBHOOK_URL="
Environment="QTWAYLANDBOT_TEAMS_ERROR_WEBHOOK_URL="
Environment="QTWAYLANDBOT_PORT=8095"


[Install]
WantedBy=multi-user.target