add
This commit is contained in:
23
härtung
Normal file
23
härtung
Normal file
@@ -0,0 +1,23 @@
|
||||
#namespace Beispiele
|
||||
[Unit]
|
||||
Description=Start Server
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=on-failure
|
||||
ExecStart=/usr/bin/python3 -m http.server
|
||||
|
||||
WorkingDirectory=/
|
||||
#Namespace tricks
|
||||
#macht Verzeichnise readOnly
|
||||
ReadOnlyPaths=/var /usr
|
||||
#zeigt sie leer an
|
||||
InaccessiblePaths=/sys /proc
|
||||
#eignes tmp
|
||||
PrivateTmp=yes
|
||||
ProtectSystem=strict
|
||||
#PrivateUser=yes
|
||||
|
||||
###########################################################
|
||||
#read man systemd-exec
|
||||
#
|
||||
Reference in New Issue
Block a user