Gotify: Difference between revisions

From Halfface
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
=config file=
=config file=
  curl -O /etc/gotify/config.yml https://raw.githubusercontent.com/gotify/server/master/config.example.yml
  curl -O /etc/gotify/config.yml https://raw.githubusercontent.com/gotify/server/master/config.example.yml
=test start=
sudo -u gotify /usr/local/bin/gotify

Revision as of 19:26, 25 February 2020

install

Download suitable gotify binary. Put in

/usr/local/bin/gotify

Create directories.

/etc/gotify
/var/lib/gotify
chown -R gotify:gotify /var/lib/gotify/data

create user

groupadd -r gotify
useradd -M -d /var/lib/gotify -s /sbin/nologin -r -g gotify gotify

config file

curl -O /etc/gotify/config.yml https://raw.githubusercontent.com/gotify/server/master/config.example.yml

test start

sudo -u gotify /usr/local/bin/gotify