1.0.0 Release IaaS
This commit is contained in:
23
config/services/systemd/fw/blocky/blocky.service
Normal file
23
config/services/systemd/fw/blocky/blocky.service
Normal file
@@ -0,0 +1,23 @@
|
||||
[Unit]
|
||||
Description=Blocky DNS Resolver
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
User=blocky
|
||||
Group=blocky
|
||||
|
||||
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||
|
||||
ExecStart=/usr/local/bin/blocky --config /etc/blocky/config.yaml
|
||||
Restart=always
|
||||
RestartSec=5s
|
||||
|
||||
|
||||
NoNewPrivileges=true
|
||||
ProtectSystem=full
|
||||
ProtectHome=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user