Jake Howard
6804cd0edb
Otherwise it doesn't have access to enumerate my processes, which really is how it's meant to be!
22 lines
409 B
Desktop File
22 lines
409 B
Desktop File
[Unit]
|
|
Description=Crab Router
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User={{ user }}
|
|
ExecStart=/usr/bin/crab router
|
|
Environment="CRAB_ROUTER_HOST=0.0.0.0"
|
|
|
|
# Allow port 80 bind
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
NoNewPrivileges=yes
|
|
|
|
# More protections, because why not
|
|
PrivateDevices=yes
|
|
PrivateTmp=yes
|
|
ProtectSystem=full
|
|
|
|
[Install]
|
|
RequiredBy=multi-user.target
|