mirror of
https://git.phreedom.club/localhost_frssoft/mastodon-group-bot.git
synced 2025-05-10 22:28:39 +00:00
add logging
This commit is contained in:
parent
d3f2bcbdcd
commit
7e00624577
9 changed files with 91 additions and 40 deletions
|
@ -3,6 +3,7 @@ name=$RC_SVCNAME
|
|||
command="/usr/bin/$name"
|
||||
command_arg1="-config /etc/$name/config.json"
|
||||
command_arg2="-db /var/lib/$name/limits.db"
|
||||
command_arg3="-log /var/log/$name/$name.log"
|
||||
pidfile="/run/$name.pid"
|
||||
user="nobody"
|
||||
description="Mastodon group bot which reposts toots"
|
||||
|
|
|
@ -6,7 +6,7 @@ Wants=network-online.target
|
|||
[Service]
|
||||
Type=simple
|
||||
User=nobody
|
||||
ExecStart=/usr/bin/mastodon-group-bot -config /etc/mastodon-group-bot/config.json -db /var/lib/mastodon-group-bot/limits.db
|
||||
ExecStart=/usr/bin/mastodon-group-bot -config /etc/mastodon-group-bot/config.json -db /var/lib/mastodon-group-bot/limits.db -log /var/log/mastodon-group-bot/mastodon-group-bot.log
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue