Compare commits

...

2 Commits

Author SHA1 Message Date
63977d2935
ref!: update to node v18.20 2025-10-25 23:45:18 -06:00
AJ ONeal
7bc2193d09
fix(systemd): don't use system-only values for user unit 2025-10-25 23:40:03 -06:00
3 changed files with 7 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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"