mirror of
https://github.com/nxshock/promodj.git
synced 2024-11-27 03:01:01 +05:00
44 lines
884 B
SYSTEMD
44 lines
884 B
SYSTEMD
|
[Unit]
|
||
|
Description=promodj service
|
||
|
After=network-online.target
|
||
|
Wants=network-online.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
User=promodj
|
||
|
ExecStart=/usr/bin/promodj
|
||
|
Restart=on-failure
|
||
|
RestartSec=10s
|
||
|
|
||
|
SecureBits=keep-caps
|
||
|
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
||
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||
|
DevicePolicy=closed
|
||
|
IPAccounting=true
|
||
|
LockPersonality=true
|
||
|
MemoryDenyWriteExecute=true
|
||
|
NoNewPrivileges=true
|
||
|
PrivateDevices=true
|
||
|
PrivateTmp=true
|
||
|
ProtectClock=true
|
||
|
ProtectControlGroups=true
|
||
|
ProtectControlGroups=true
|
||
|
ProtectHome=true
|
||
|
ProtectHostname=true
|
||
|
ProtectKernelLogs=true
|
||
|
ProtectKernelModules=true
|
||
|
ProtectKernelTunables=true
|
||
|
ProtectSystem=strict
|
||
|
ReadWritePaths=
|
||
|
RemoveIPC=true
|
||
|
RestrictNamespaces=true
|
||
|
RestrictRealtime=true
|
||
|
RestrictSUIDSGID=true
|
||
|
SystemCallArchitectures=native
|
||
|
SystemCallFilter=@system-service
|
||
|
SystemCallFilter=~@resources
|
||
|
UMask=0027
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|