diff --git a/exampleconfig.toml b/exampleconfig.toml index ca01485..47702af 100644 --- a/exampleconfig.toml +++ b/exampleconfig.toml @@ -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 to make ruff send the meme with the given id sendmeme_command = "!sendmeme" diff --git a/ruff.service b/ruff.service new file mode 100644 index 0000000..00c3737 --- /dev/null +++ b/ruff.service @@ -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