Commit graph

18 commits

Author SHA1 Message Date
Toby
9136a1db19 ci: publish scripts 2023-09-03 11:42:06 -07:00
Haruue Icymoon
c7545cc870
chore: minor update user msg in install_server.sh 2023-09-02 18:52:55 +08:00
Haruue Icymoon
9d361555ef
add: install_server.sh 2023-09-02 15:39:40 +08:00
tobyxdd
9f54aade8f hysteria 2 prototype first public release 2023-05-25 20:24:24 -07:00
Haruue Icymoon
a5647379b1
Revert "feat(install_server.sh): auto detect amd64-avx"
some vps have avx in their /proc/cpuinfo but actually not support it

This reverts commit f203ab901e.
2022-12-12 13:28:22 +08:00
Haruue Icymoon
6e3a3f5388
feat(install_server.sh): customized hysteria user
it seems like some linux newbies might try to manage the cert & key by
themselves or thirdparty software (such as caddy), and complain about
hysteria start failure due to permission denied.

and it is actually really pretty hard to teach them how to edit systemd
units, or place their certs & key files into a suitable directory and
set proper permission.

which this commit, we can easily tell them just re-run the install
script with the following command:

HYSTERIA_USER=root ./install_server.sh -f

this script can also detect the correct user from the installed systemd
units, so it still works properly even if the user forgets to specify
HYSTERIA_USER= in the subsequent runs.
2022-12-11 23:27:08 +08:00
Haruue Icymoon
f203ab901e
feat(install_server.sh): auto detect amd64-avx 2022-12-11 22:04:53 +08:00
Haruue Icymoon
986c163040
feat(install_server.sh): version number format
validate user specified version number format should begin with 'v'
2022-11-29 12:37:38 +08:00
Haruue Icymoon
dbe9f3414c
fix(install_server.sh): centos 7 supports
there is no systemd-sysusers on centos 7, and
its bash does not support $(("1" - "2"))
2022-11-28 15:15:34 +08:00
Haruue Icymoon
608810ceac
fix(install_server.sh): systemd unit desc 2022-11-28 13:36:26 +08:00
Haruue Icymoon
173d3a5a1d
fix(install_server.sh): sudo with $@ 2022-11-28 13:22:39 +08:00
Haruue Icymoon
e2cc0dff48
fix(install_server.sh): curl missing -f 2022-11-28 12:15:35 +08:00
Haruue Icymoon
960a380521
fix(install_server.sh): userdel missing -r 2022-11-28 12:11:16 +08:00
Haruue Icymoon
249af28506
chore(install_server.sh): minor code fix
rm a redundant assign
2022-11-28 02:39:19 +08:00
Haruue Icymoon
2e6cb1c838
refactor: install_server.sh
rewrite this script entirely, and solve all historical issues.

close: #513
close: #514
2022-11-28 02:06:16 +08:00
Toby
7ce4bf7dbe chore: update module name 2022-11-16 22:57:35 -08:00
Haruue Icymoon
ecf84ee07e
chore: remove python req in the install_server.sh 2022-02-28 21:33:52 +08:00
Toby
1ac9598d1b chore: rename install.sh to install_server.sh 2022-02-06 19:25:43 -08:00
Renamed from install.sh (Browse further)