Arch PKGBUILDs for https://tangled.org/@tangled.org/core
arch pkgbuild
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 29 lines 728 B view raw
1#!/usr/bin/bash 2set -eu 3cat << EOF > ${pkgbuild_path}/knotserver.service 4[Unit] 5Description=tangled knot server 6After=network.target network-online.target 7Wants=network-online.target 8AssertPathExists=${knotserver_path} 9AssertPathExists=${knotserver_repo_path} 10 11[Service] 12Environment="KNOT_SERVER_LISTEN_ADDR=127.0.0.1:5555" 13Environment="KNOT_REPO_SCAN_PATH=${knotserver_repo_path}" 14WorkingDirectory=${knotserver_path} 15ExecStart=/usr/bin/knot server 16Restart=always 17User=${knotserver_user} 18Group=${knotserver_group} 19 20StandardOutput=journal 21StandardError=journal 22LimitNOFILE=65536 23 24# Creates /var/log/knotserver with the correct permissions for the repoguard log. 25LogsDirectory=knotserver 26 27[Install] 28WantedBy=multi-user.target 29EOF