Last active
May 18, 2019 22:45
-
-
Save bcomnes/50d7c52120a2a46b9fdf to your computer and use it in GitHub Desktop.
scuttlebot.service: /etc/systemd/service/[email protected]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=sbot | |
[Service] | |
ExecStart=/usr/local/bin/sbot server --host example.com --blobs.party | |
# Track https://github.com/ssbc/patchwork/issues/224 for info on --blobs.party | |
Restart=on-failure | |
ReadWriteDirectories=/home/%i/.ssb | |
User=%i | |
StandardOutput=null | |
StandardError=journal | |
[Install] | |
WantedBy=multi-user.target |
Be sure to set the host as well. Someone let me know if there is an easy way to parameterize that.
You can put the --args into a JSON config file at ~/.ssb/config, e.g.:
{"host": "example.com", "blobs": {"party": true}}
Good to know!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run this like:
To run the sbot as
username
Be sure to set the host as well. Someone let me know if there is an easy way to parameterize that.