secure-scuttlebot classic
1# Usage:
2#
3# $ sudo systemctl link ./ssb-server@.service # add to systemd
4# $ sudo systemctl enable ssb-server@${USER} # set to run as this user, on boot
5# $ sudo systemctl start ssb-server@${USER} # start now, as this user
6
7[Unit]
8Description=Secure Scuttlebutt
9After=network.target
10
11[Service]
12User=%I
13ExecStart=/usr/bin/env bash -c '. /home/%I/.nvm/nvm.sh; ssb-server start'
14Restart=always
15RestartSec=30
16
17[Install]
18WantedBy=multi-user.target