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

Following my Custom User Services, create the links:

cd /etc/local.d
ln -s _servicer.sh 60-silverbullet--service.start
ln -s _servicer.sh 60-silverbullet--service.stop

And the associated service support file /data/daemons/silverbullet/service_silverbullet_start:

service_silverbuller_start
COMMAND="/data/daemons/silverbullet/silverbullet"
ARGUMENTS=(/data/common/willy/Notes/ --hostname 127.0.0.1 --port 8001)