Last active
October 3, 2026 10:11
-
-
Save bcomnes/50d7c52120a2a46b9fdf to your computer and use it in GitHub Desktop.
scuttlebot.service: /etc/systemd/service/scuttlebot@.service
This file contains hidden or 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 |
Author
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}}
Author
Good to know!
Thanks for sharing this example. Using a templated systemd service with scuttlebot@username.service is a clean and convenient approach, especially for managing multiple users while keeping the configuration simple and maintainable.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run this like:
$ systemctl enable --now scuttlebot@username.serviceTo run the sbot as
usernameBe sure to set the host as well. Someone let me know if there is an easy way to parameterize that.