User Tools

This is an old revision of the document!


Silverbullet

useradd -d /data/daemons/silverbullet -m silverbullet -g users

umask 0002 in bashrc

Download: https://github.com/silverbulletmd/silverbullet/releases

https://github.com/silverbulletmd/silverbullet/releases/download/0.7.5/silverbullet-server-linux-x86_64.zip

unzip silverbullet-server-linux-x86_64.zip

./silverbullet /data/common/willy/Notes/ –hostname 127.0.0.1 –port 8001

Startup

Create the following startup script /deposito/daemons/silverbullet/silverbullet.sh:

silverbullet.sh
#!/bin/bash
cd /data/daemons/silverbullet && ./silverbullet /data/Notes/ --hostname 127.0.0.1 --port 8001

make it executable.

Now, create the startup script /etc/local.d/44-silverbullet.sh:

44-silverbullet.sh
#!/bin/bash

/data/daemons/silverbullet/silverbullet.sh

and make it executable as well.