diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8bb5d99 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +.DS_Store +.idea +*.log +tmp/ +node_modules/ +npm-debug.log diff --git a/hj-twitch-bot.service b/hj-twitch-bot.service new file mode 100644 index 0000000..e68b670 --- /dev/null +++ b/hj-twitch-bot.service @@ -0,0 +1,10 @@ +[Unit] +Description=HJ's Twitch bot +After=network.target + +[Service] +EnvironmentFile=~pleroma/hj-twitch-bot/secret.env +ExecStart=node ~pleroma/hj-twitch-bot/index.js + +[Install] +WantedBy=default.target