-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabermush.service
More file actions
38 lines (36 loc) · 789 Bytes
/
abermush.service
File metadata and controls
38 lines (36 loc) · 789 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[Unit]
Description=AberMUSH
After=syslog.target
After=network.target
[Service]
User=abermush
Group=abermush
WorkingDirectory=/opt/abermush
ExecStart=/usr/bin/python3 /opt/abermush/abermush.py
Environment=PATH=/usr/bin:/usr/local/bin
Environment=PYTHONUNBUFFERED=true
Restart=always
StandardError=syslog
CPUQuota=80%
ProtectHome=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
ProtectKernelLogs=true
ProtectHostname=true
ProtectClock=true
ProtectProc=invisible
ProcSubset=pid
PrivateTmp=true
PrivateUsers=true
PrivateDevices=true
PrivateIPC=true
MemoryDenyWriteExecute=true
NoNewPrivileges=true
LockPersonality=true
RestrictRealtime=true
RestrictSUIDSGID=true
RestrictNamespaces=true
SystemCallArchitectures=native
[Install]
WantedBy=multi-user.target