systemd
information on Yarn's wiki!
push
to that repo? @prologic, I think that's what this error means, yes?
jj@zoo:~/Projects/yarn.wiki$ git push
Gitea: Unauthorized
Gitea: Unauthorized
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
# Running under systemd
***Note:
yarn.social
is actively developed. Please see the latest documentation to take advantage of all the latest command line switches and configuration file parameters. The following example will likely be dated (but working!).*sudo vi /lib/systemd/system/yarnd.service
[Unit]
Description=🧶Yarn.social is an open-source, self-hosted, de-centralised micro-blogging platform
Documentation=https://git.mills.io/yarnsocial/yarn
After=network.target
[Service]
Type=simple
Restart=on-failure
RestartSec=10
StartLimitBurst=5
StartLimitInterval=100
User=yarn.social
[^1]Group=yarn.social
ExecStart=/usr/local/bin/yarnd -OR
EnvironmentFile=/home/yarn.social/yarnd.config
[^2][Install]
WantedBy=multi-user.target
:wq
sudo systemctl enable yarnd
sudo cat /home/yarn.social/yarnd.config
ADMIN_EMAIL=dog@heaven.above
ADMIN_USER=dog
API_SIGNING_KEY=not-for-m0rtal-eyes
BASE_URL=https://yarn.heaven.above
COOKIE_SECRET=also-not-for-m0rtal-eyes
DATA=/home/yarn.social/data
DESCRIPTION="🧶Yarn.social is a self-hosted, Twitter™-esque, de-centralised micro-blogging platform. No ads, no tracking; your content, your data!"
MAGICLINK_SECRET=definitely-not-for-m0rtal-eyes
SMTP_FROM=gabriel@heaven.above
SMTP_HOST=mail.heaven.above
SMTP_PASS=aaand-fo-ahem-not-for-m0rtal-eyes-either
SMTP_USER=gabriel@heaven.above
STORE=bitcask:///home/yarn.social/yarn.db
sudo systemctl restart yarnd
[^1]: Running this under a separate account is not required.
[^2]: You could also run this from
/etc/
, of course.****