From 69427bee5c0a902c081f861fa032d81231ac407b Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Mon, 8 Mar 2021 15:53:58 -0500 Subject: [PATCH] Add systemd service example w/o password --- keyrcbot.service.example | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 keyrcbot.service.example diff --git a/keyrcbot.service.example b/keyrcbot.service.example new file mode 100644 index 0000000..7999f1c --- /dev/null +++ b/keyrcbot.service.example @@ -0,0 +1,13 @@ +[Unit] +Description=keyrc bot + +[Service] +User=keybase +Environment=IRC_PASS= +Environment=HOME=/home/keybase +WorkingDirectory=/usr/local/src/irc +ExecStart=/usr/bin/go run /usr/local/src/irc/keyrcbot.go +Restart=always + +[Install] +WantedBy=multi-user.target