mirror of
https://github.com/TheLovinator1/discord-reminder-bot.git
synced 2025-08-19 07:34:37 +02:00
Create discord-reminder-bot.service
This commit is contained in:
13
discord-reminder-bot.service
Normal file
13
discord-reminder-bot.service
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=discord-reminder-bot
|
||||||
|
Wants=network-online.target
|
||||||
|
After=network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
WorkingDirectory=%h/discord-reminder-bot
|
||||||
|
ExecStart=/usr/bin/pipenv run python %h/discord-reminder-bot/main.py
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Reference in New Issue
Block a user