Skip to content

Latest commit

 

History

History
67 lines (48 loc) · 1.09 KB

uberspace.md

File metadata and controls

67 lines (48 loc) · 1.09 KB

Uberspace setup

clone the repository and build the binary

cd tmp
git clone https://github.com/kernelschmelze/inbox.git
cd inbox
go build

copy the binary and config template

cp inbox ~/bin/.
cp inbox.toml.example ~/etc/inbox.toml

set the backend to an application listening on port 25478

See manual for more information about backend configuration.

uberspace web backend set /inbox --http --port 25478

edit your inbox config file

~/etc/inbox.toml

listen = ":25478"

[jsonstore]
path = "~/inbox/data"
days = 30

[pushover]
  app = "API Token"
  user = "Your User Key"

try it

cd ~/bin
./inbox -f ~/etc/inbox.toml 

setup supervisord

See manual for more information about supervisord configuration.

~/etc/services.d/inbox.ini

[program:inbox]
command=inbox -f %(ENV_HOME)s/etc/inbox.toml
autostart=yes
autorestart=yes

refresh supervisord configuration

supervisorctl reread
supervisorctl update