[Unit] Description=GoCQHTTP Twitter bot Requires=gocqhttp.service Requires=playwright.service [Service] WorkingDirectory=%h/gocqhttp-twitter-bot ExecStart=bash -l "%h/gocqhttp-twitter-bot/bin/twitterbot" config.json #StandardOutput=append:%h/gocqhttp-twitter-bot/twitterbot.log #StandardError=append:%h/gocqhttp-twitter-bot/twitterbot.log Restart=always RestartSec=2s [Install] WantedBy=default.target