1 parent
a643e7e3ab
commit
52d5f1745a
9 files changed
+120
-16
No files matched your search
@@ -8,10 +8,15 @@ Type=simple
|
||||
User=rustbox
|
||||
Group=rustbox
|
||||
Environment=RUSTBOX_CONFIG=/etc/rustbox/rustbox.toml
|
||||
Environment=RUST_LOG=info
|
||||
WorkingDirectory=/var/lib/rustbox
|
||||
ExecStart=/usr/local/bin/rustbox
|
||||
Restart=on-failure
|
||||
RestartSec=3
|
||||
StateDirectory=rustbox
|
||||
StateDirectoryMode=0700
|
||||
LogsDirectory=rustbox
|
||||
LogsDirectoryMode=0750
|
||||
UMask=0077
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
@@ -25,6 +30,8 @@ RestrictSUIDSGID=true
|
||||
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
||||
LockPersonality=true
|
||||
MemoryDenyWriteExecute=true
|
||||
StandardOutput=null
|
||||
StandardError=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user