Package Details: betula 1.3.1-1

Git Clone URL: https://aur.archlinux.org/betula.git (read-only, click to copy)
Package Base: betula
Description: Self-hosted personal link collection manager
Upstream URL: https://git.sr.ht/~bouncepaw/betula
Licenses: AGPL3
Submitter: mutt
Maintainer: mutt
Last Packager: mutt
Votes: 2
Popularity: 1.08
First Submitted: 2023-09-02 20:19 (UTC)
Last Updated: 2024-08-09 17:09 (UTC)

Required by (0)

Sources (1)

Latest Comments

z3ntu commented on 2024-11-19 09:59 (UTC)

I've made the following systemd config for easy service management. Would be nice if you add it to the packaging.

/usr/lib/sysusers.d/betula.conf:

u betula - "Betula user" - -

/usr/lib/tmpfiles.d/betula.conf:

d /var/lib/betula 0750 betula betula -

/usr/lib/systemd/system/betula.service:

[Unit]
Description=Betula Server
After=network.target

[Service]
Type=simple
ExecStart=/usr/bin/betula /var/lib/betula/links.betula
User=betula
Group=betula

NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
DevicePolicy=closed
ProtectSystem=strict
ReadWritePaths=/var/lib/betula/
ProtectHome=read-only
ProtectControlGroups=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK
RestrictNamespaces=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes
MemoryDenyWriteExecute=yes
LockPersonality=yes

[Install]
WantedBy=multi-user.target