mirror of
https://github.com/msfjarvis/server-config
synced 2025-08-13 19:27:02 +05:30
31 lines
573 B
Desktop File
31 lines
573 B
Desktop File
[Unit]
|
|
Description=daas: demangle-as-a-service
|
|
After=syslog.target
|
|
After=network.target
|
|
|
|
[Service]
|
|
LimitMEMLOCK=infinity
|
|
LimitNOFILE=65535
|
|
RestartSec=2s
|
|
Type=simple
|
|
User=caddy
|
|
Group=caddy
|
|
ExecStart=/usr/local/bin/daas
|
|
Restart=always
|
|
|
|
# Security
|
|
PrivateTmp=true
|
|
ProtectSystem=full
|
|
ProtectHome=true
|
|
NoNewPrivileges=true
|
|
ProtectControlGroups=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelTunables=true
|
|
PrivateDevices=true
|
|
RestrictAddressFamilies=AF_INET AF_INET6
|
|
RestrictNamespaces=true
|
|
RestrictRealtime=true
|
|
SystemCallArchitectures=native
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|