Commit graph

14 commits

Author SHA1 Message Date
Haruue Icymoon
14e3211226
fix(script): version check broken 2023-11-05 16:17:06 +08:00
Haruue Icymoon
7135f04fa2
chore(scripts): use WorkingDirectory=~
as introduced in systemd v227 [1], all modern linux distro should
support this now.

[1]: 5f5d8eab1f
2023-09-16 21:32:50 +08:00
Haruue Icymoon
1173252f62
Revert "feat(scripts): HYSTERIA_ACME_DIR in systemd unit"
This reverts commit f6fecba6c7.

ref: #692

there are still some permission issues due to writing to workdir by default.
2023-09-16 21:13:15 +08:00
Haruue Icymoon
7ae977866a
feat(scripts): check latest version from hy2 api 2023-09-14 14:51:39 +08:00
Haruue Icymoon
f6fecba6c7
feat(scripts): HYSTERIA_ACME_DIR in systemd unit 2023-09-12 13:21:01 +08:00
Haruue Icymoon
0fe42d41d6
fix(scripts): bash also uses /proc/self/fd
... instead of /dev/fd for <(...)

ref: https://github.com/apernet/hysteria/issues/678
2023-09-11 14:46:48 +08:00
Toby
a2347ad75f fix(script): grammar 2023-09-05 21:29:36 -07:00
Haruue Icymoon
5379655798
fix(script): auto sudo when run from stdin 2023-09-06 11:35:24 +08:00
Haruue Icymoon
ec91aa592a
fix: confdir in systemd unit in install_server.sh
caused by 3eeab8a349
2023-09-05 16:23:02 +08:00
Haruue Icymoon
bd2d4c9b8e
chore: rand pass for config in install_server.sh 2023-09-04 23:19:01 +08:00
Haruue Icymoon
3eeab8a349
fix: use homedir as workdir in systemd unit
as default acme storage is $workdir/acme instead of $homedir/.config/...
2023-09-04 22:58:06 +08:00
Haruue Icymoon
099faa93a4
chore: fix version check in install_server.sh 2023-09-04 20:55:34 +08:00
Toby
4aafb5e2da scripts: add redirect for cloudflare pages 2023-09-03 11:48:20 -07:00
Toby
9136a1db19 ci: publish scripts 2023-09-03 11:42:06 -07:00