doku:server:api2.shackspace.de
Dies ist eine alte Version des Dokuments!
api2.shackspace.de
Grundinstallation
LXC via ansible
Ansible ausgeführt, weiter manuell:
ufw allow 8081/tcp cd /srv git clone https://github.com/shackspace/api.shackspace.de.git cat <<'EOF' >/etc/systemd/system/shackapi.service [Unit] Description=shack API After=network-online.target [Service] Type=simple WorkingDirectory=/srv/api.shackspace.de Environment="HOME=/srv/api.shackspace.de" ExecStart=/srv/api.shackspace.de/run.sh Restart=always [Install] WantedBy=multi-user.target EOF systemctl daemon-reload systemctl enable shackapi systemctl start shackapi
doku/server/api2.shackspace.de.1662019714.txt.gz · Zuletzt geändert: 2022-09-01 10:08 von are