remove service
All checks were successful
Build and Deploy Docker Container / build-and-deploy (push) Successful in 47s
All checks were successful
Build and Deploy Docker Container / build-and-deploy (push) Successful in 47s
image on own server
This commit is contained in:
2
main.py
2
main.py
@@ -90,7 +90,7 @@ def get_message(type: str) -> dict[str, int]:
|
||||
msg = messages[type]
|
||||
if type in ["halftime", "420"]:
|
||||
msg["image"] = {
|
||||
"url": "https://www.freepnglogos.com/uploads/weed-leaf-png/cannabis-weed-leaf-png-clipart-images-24.png"}
|
||||
"url": "https://copyparty.allucanget.biz/img/weed.png"}
|
||||
if type == "420":
|
||||
tz_list = where_is_it_420(timezones, countries)
|
||||
if tz_list:
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
[Unit]
|
||||
Description=Discord Webhook Notification Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=www-data
|
||||
Group=www-data
|
||||
WorkingDirectory=/srv/app/thc-time
|
||||
ExecStart=/srv/app/thc-time/venv/bin/python /srv/app/thc-time/main.py
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user