diff options
Diffstat (limited to 'clients/umbrella-bot/umbrella-bot.service')
| -rw-r--r-- | clients/umbrella-bot/umbrella-bot.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/clients/umbrella-bot/umbrella-bot.service b/clients/umbrella-bot/umbrella-bot.service new file mode 100644 index 0000000..0473ea9 --- /dev/null +++ b/clients/umbrella-bot/umbrella-bot.service @@ -0,0 +1,16 @@ +[Unit] +Description=Umbrella Matrix Bot +After=network.target umbrella.service +Requires=umbrella.service + +[Service] +Type=simple +User=root +ExecStart=/usr/bin/python3 /usr/local/bin/umbrella-bot.py -c /etc/umbrella/bot.conf +Restart=on-failure +RestartSec=10s +StandardOutput=append:/var/log/umbrella/bot.log +StandardError=append:/var/log/umbrella/bot.log + +[Install] +WantedBy=multi-user.target |
