add systemd unit file
This commit is contained in:
parent
c270953ab2
commit
cda1743f0f
2 changed files with 10 additions and 1 deletions
|
@ -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
9
ruff.service
Normal 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
|
Loading…
Reference in a new issue