35 lines
706 B
Desktop File
35 lines
706 B
Desktop File
[Unit]
|
|
Description=Cosmarmot, a gopher-to-gemini bridge
|
|
|
|
[Service]
|
|
ExecStart=/bin/sh /usr/local/share/cosmarmot/cosmarmot.ros
|
|
Type=simple
|
|
Restart=always
|
|
RestartSec=10
|
|
User=gopher
|
|
|
|
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
DevicePolicy=closed
|
|
PrivateDevices=true
|
|
PrivateTmp=yes
|
|
ProcSubset=pid
|
|
ProtectClock=true
|
|
ProtectControlGroups=true
|
|
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
|