Compare commits
2 Commits
55cc3406bf
...
63977d2935
| Author | SHA1 | Date | |
|---|---|---|---|
| 63977d2935 | |||
|
|
7bc2193d09 |
@ -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,4 +61,5 @@ NoNewPrivileges=true
|
|||||||
; NoNewPrivileges=true
|
; NoNewPrivileges=true
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
# For userspace service
|
||||||
|
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
|
||||||
|
|||||||
@ -137,7 +137,7 @@ echo "Installing $my_name to '$TELEBIT_REAL_PATH'"
|
|||||||
# v9.x has severe networking bugs.
|
# v9.x has severe networking bugs.
|
||||||
# v8.x has working ursa, but requires tls workarounds"
|
# v8.x has working ursa, but requires tls workarounds"
|
||||||
# v10.13 seems to work for me locally (new greenlock)
|
# v10.13 seems to work for me locally (new greenlock)
|
||||||
NODEJS_VER="${NODEJS_VER:-v10.13}"
|
NODEJS_VER="${NODEJS_VER:-v18.20}"
|
||||||
export NODEJS_VER
|
export NODEJS_VER
|
||||||
export NODE_PATH="$TELEBIT_TMP/lib/node_modules"
|
export NODE_PATH="$TELEBIT_TMP/lib/node_modules"
|
||||||
export NPM_CONFIG_PREFIX="$TELEBIT_TMP"
|
export NPM_CONFIG_PREFIX="$TELEBIT_TMP"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user