add systemd unit file

This commit is contained in:
LordMZTE 2022-01-23 15:24:00 +01:00
parent c270953ab2
commit cda1743f0f
2 changed files with 10 additions and 1 deletions

View file

@ -3,7 +3,7 @@ homeserver_url = "https://matrix.org"
user_id = "@ruffbot:matrix.org"
password = "xxx"
# path to store databases
store_path = "store"
store_path = "/var/cache/ruff"
# !sendmeme <id> to make ruff send the meme with the given id
sendmeme_command = "!sendmeme"

9
ruff.service Normal file
View file

@ -0,0 +1,9 @@
[Unit]
Description=Next gen uff bot
[Service]
ExecStart=/usr/bin/ruff -c /etc/ruff/config.toml
Environment=RUST_LOG=information
[Install]
WantedBy=default.target