This unit is provided by:
Options
-
[Service]
-
AmbientCapabilities=
-
BindReadOnlyPaths=/nix/store /etc /run/booted-system /run/current-system /run/systemd /run/postgresql /run/redis-sourcehut-buildsrht
-
CapabilityBoundingSet=
-
DeviceAllow=
-
Environment="HOME=/run/sourcehut/buildsrht-api"
-
ExecStart=/usr/bin/buildsrht-api -b localhost:5102
-
ExecStartPre=+buildsrht-api-credentials
-
Group=buildsrht
-
InaccessiblePaths=-+/run/sourcehut/chroots/buildsrht-api
-
LockPersonality
Introduced in systemd 235=yes -
MemoryDenyWriteExecute
Introduced in systemd 231=yes -
MountAPIVFS=yes
-
NoNewPrivileges
Introduced in systemd 239=yes -
PrivateDevices
Introduced in systemd 209=yes -
PrivateMounts=yes
-
PrivateNetwork=no
-
PrivateTmp=yes
-
PrivateUsers=yes
-
ProcSubset
Introduced in systemd 247=pid -
ProtectClock
Introduced in systemd 245=yes -
ProtectControlGroups
Introduced in systemd 232=yes -
ProtectHome
Introduced in systemd 214=yes -
ProtectHostname
Introduced in systemd 242=yes -
ProtectKernelLogs
Introduced in systemd 244=yes -
ProtectKernelModules
Introduced in systemd 232=yes -
ProtectKernelTunables
Introduced in systemd 232=yes -
ProtectProc
Introduced in systemd 247=invisible -
ProtectSystem
Introduced in systemd 214=strict -
RemoveIPC
Introduced in systemd 232=yes -
Restart=always
-
RestartSec=5s
-
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
-
RestrictNamespaces
Introduced in systemd 233=yes -
RestrictRealtime
Introduced in systemd 231=yes -
RestrictSUIDSGID
Introduced in systemd 242=yes -
RootDirectory=/run/sourcehut/chroots/buildsrht-api
-
RootDirectoryStartOnly=yes
-
RuntimeDirectory=sourcehut/buildsrht-api sourcehut/buildsrht-api/subdir sourcehut/chroots/buildsrht-api
-
RuntimeDirectoryMode=2750
-
SystemCallArchitectures=native
-
SystemCallFilter=@system-service ~@aio ~@keyring ~@memlock ~@privileged ~@resources ~@timer @chown @setuid
-
Type=simple
-
UMask=0026
-
User=buildsrht
-
WorkingDirectory=-/run/sourcehut/buildsrht-api
-
-
[Unit]
-
After=network.target postgresql.service redis-sourcehut-buildsrht.service buildsrht.service
-
Description=sourcehut buildsrht-api service
-
PartOf=buildsrht.service
-
Requires=postgresql.service redis-sourcehut-buildsrht.service
-
Additionnal notes
Nothing here.