Compare commits
1 Commits
63977d2935
...
55cc3406bf
| Author | SHA1 | Date | |
|---|---|---|---|
| 55cc3406bf |
@ -34,9 +34,9 @@ ExecReload=/bin/kill -USR1 $MAINPID
|
|||||||
# Use private /tmp and /var/tmp, which are discarded after this stops.
|
# Use private /tmp and /var/tmp, which are discarded after this stops.
|
||||||
PrivateTmp=true
|
PrivateTmp=true
|
||||||
# Use a minimal /dev
|
# Use a minimal /dev
|
||||||
PrivateDevices=true
|
;PrivateDevices=true
|
||||||
# Hide /home, /root, and /run/user. Nobody will steal your SSH-keys.
|
# Hide /home, /root, and /run/user. Nobody will steal your SSH-keys.
|
||||||
;ProtectHome=true
|
ProtectHome=true
|
||||||
# Make /usr, /boot, /etc and possibly some more folders read-only.
|
# Make /usr, /boot, /etc and possibly some more folders read-only.
|
||||||
ProtectSystem=full
|
ProtectSystem=full
|
||||||
# ... except for a few because we want a place for config, logs, etc
|
# ... except for a few because we want a place for config, logs, etc
|
||||||
@ -61,5 +61,4 @@ NoNewPrivileges=true
|
|||||||
; NoNewPrivileges=true
|
; NoNewPrivileges=true
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
# For userspace service
|
WantedBy=multi-user.target
|
||||||
WantedBy=default.target
|
|
||||||
|
|||||||
@ -62,6 +62,6 @@ NoNewPrivileges=true
|
|||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
# For system-level service
|
# For system-level service
|
||||||
WantedBy=multi-user.target
|
;WantedBy=multi-user.target
|
||||||
# For userspace service
|
# For userspace service
|
||||||
;WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user