spindles your spindle while you spindle

commit the files

+27
+12
README.md
··· 1 + # yeah we all want our spindle running persistently so 2 + 3 + instructions: 4 + 5 + 1. move `spindle.service` to `/etc/systemd/system` 6 + 2. edit `env` with whatever you want your env vars to be 7 + 3. move `env` to `/etc/spindle_service` 8 + 4. run `systemctl enable spindle.service` 9 + 5. run `systemctl start spindle.service` 10 + 6. profit 11 + 12 + oh also this presumes that you moved the spindle binary to /usr/local/bin. if you didn't do that then update the path in spindle.service first
+3
env
··· 1 + SPINDLE_SERVER_HOSTNAME=your.hostname.ext 2 + SPINDLE_SERVER_OWNER=did:plc:xxxxxxxxxxxxxxxxxxxx 3 + SPINDLE_SERVER_DB_PATH=/path/to/spindle.db
+12
spindle.service
··· 1 + [Unit] 2 + Description=Spindle server for tangled.sh 3 + After=network.target 4 + 5 + [Service] 6 + Type=simple 7 + ExecStart=spindle 8 + Restart=on-failure 9 + EnvironmentFile=/etc/spindle_service/env 10 + 11 + [Install] 12 + WantedBy=multi-user.target