6 After=postgresql.service
7 After=memcached.service
15 RuntimeDirectory=forgejo
17 StateDirectory=forgejo
18 Environment=USER=forgejo HOME=/var/lib/forgejo GITEA_WORK_DIR=/var/lib/forgejo
19 ExecStart=/usr/bin/forgejo web -c /etc/forgejo/app.ini
22 ReadWritePaths=/etc/forgejo/app.ini
24 CapabilityBoundingSet=
26 #Required by commit search
27 #MemoryDenyWriteExecute=true
29 #SecureBits=noroot-locked
34 ProtectControlGroups=true
37 ProtectKernelLogs=true
38 ProtectKernelModules=true
39 ProtectKernelTunables=true
42 RestrictAddressFamilies=AF_INET AF_INET6 AF_NETLINK AF_UNIX
43 RestrictNamespaces=true
46 SystemCallArchitectures=native
47 SystemCallFilter=@system-service
48 SystemCallErrorNumber=EPERM
51 WantedBy=multi-user.target