Add systemd service example w/o password
This commit is contained in:
13
keyrcbot.service.example
Normal file
13
keyrcbot.service.example
Normal file
@ -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
|
||||
Reference in New Issue
Block a user