This *probably* won't interfere with anything anyone is doing with Germinal, though if you are serving home directories or doing a lot of work that's not read-only in path handler functions, you may have to turn off some of these directives.
38 lines
704 B
Desktop File
38 lines
704 B
Desktop File
[Unit]
|
|
Description=Germinal, a gemini server
|
|
|
|
[Service]
|
|
ExecStart=/usr/local/share/germinal/germinal.ros
|
|
Type=simple
|
|
Restart=always
|
|
RestartSec=10
|
|
User=germinal
|
|
|
|
CapabilityBoundingSet=
|
|
DevicePolicy=closed
|
|
LockPersonality=true
|
|
NoNewPrivileges=yes
|
|
PrivateDevices=true
|
|
PrivateTmp=yes
|
|
PrivateUsers=true
|
|
ProcSubset=pid
|
|
ProtectClock=true
|
|
ProtectControlGroups=true
|
|
ProtectDevices=yes
|
|
ProtectHome=yes
|
|
ProtectHostname=true
|
|
ProtectKernelLogs=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelTunables=true
|
|
ProtectProc=invisible
|
|
ProtectSystem=strict
|
|
RemoveIPC=true
|
|
RestrictAddressFamilies=AF_INET AF_INET6
|
|
RestrictNamespaces=yes
|
|
RestrictRealtime=true
|
|
RestrictSUIDSGID=true
|
|
UMask=177
|
|
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|