1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wireguard_ynh.git synced 2024-09-03 20:35:58 +02:00
Commit graph

62 commits

Author SHA1 Message Date
tituspijean
9506dc0062 Handle installation on Raspberry Pi
RPi have their own package for kernel headers
2021-06-29 21:59:29 +02:00
tituspijean
2656af882f Upgrade _conf.service too, remove others_var 2021-06-20 01:53:41 +02:00
tituspijean
8e662dddae What about backing up before any upgrade step? 2021-06-20 01:53:41 +02:00
tituspijean
3b974c91cc Close WireGuard port in UDP during removal
Matching its opening in UDP in install script
2021-06-03 21:41:08 +02:00
tituspijean
188af8ff02 Add linux headers dependency 2021-04-10 13:50:43 +02:00
tituspijean
0e9d3fe412 Enable services during restore
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2021-03-22 22:38:18 +01:00
tituspijean
edb92d0c21 Do not start WireGuard service automatically
It will most likely fail, reboot is usually required after DKMS installation
2021-03-22 20:49:14 +01:00
tituspijean
2fd5aa7481 No need to backup logrotate anymore 2021-03-22 20:49:14 +01:00
tituspijean
60c7556a30 Add "VPN" to service description 2021-03-22 20:49:14 +01:00
tituspijean
1a9595752d Enchance services more 2021-03-22 20:49:14 +01:00
tituspijean
1f64caad7a Enhance services 2021-03-22 20:49:14 +01:00
tituspijean
927ee7b3ed Use backports repo key also in restore 2021-03-21 14:51:49 +01:00
tituspijean
b58e5efec7 Remove prompt for path_url
The web UI does not handle yet installation on a subpath
2021-03-20 18:37:18 +01:00
tituspijean
e9525eb25c
Install backports repo gpg key and linux-headers (#18)
* Install backports repo gpg key

* Add linux-headers dependency

* Fix repo key

* Remove linux-headers dependency
It is handled by the wireguard dependencies
2021-03-20 18:36:54 +01:00
tituspijean
0cbc000b24 Fix port discovery in install 2021-03-08 21:30:11 +01:00
tituspijean
59d1f06fcc Close all ports upon removal
Closes #12
2021-03-06 16:57:51 +01:00
tituspijean
12f5f3566a Try to appease the CI 2021-01-21 22:15:43 +01:00
tituspijean
36e0600016 Improve visitor permission removal 2021-01-21 22:04:04 +01:00
tituspijean
4ea4acffcc Make sure the app stay private 2021-01-21 21:35:22 +01:00
tituspijean
b36f91407f Detect successful start or stop of UI service 2021-01-21 21:34:52 +01:00
tituspijean
d2b10120d7 Remove is_public argument 2021-01-21 19:55:16 +01:00
tituspijean
e811a176d5 Better detection of ports conflict 2021-01-21 19:39:11 +01:00
tituspijean
831a048693 Comments cleanup 2021-01-11 23:16:53 +01:00
tituspijean
c7c7cd7e3f User directive in WireGuard service 2021-01-11 23:03:04 +01:00
tituspijean
823fe2e97e No need for permissions handling in restore 2021-01-11 23:03:04 +01:00
tytan652
758aef11a8 fix(really): backports kernel removal
Just forget how to create bash variable
2021-01-11 23:03:04 +01:00
tytan652
2204e15983 fix: backports kernel removal 2021-01-11 23:03:04 +01:00
tytan652
1f5416ebc2 feat: remove backports kernel if in use 2021-01-11 23:03:04 +01:00
tytan652
58ef74e961 doc: replace new kernel mentions by dkms ones 2021-01-11 23:03:04 +01:00
tytan652
f633f6c40b fix: allow downgrade for linux-image install 2021-01-11 23:03:04 +01:00
tytan652
b8b855f59b fix: remove "--no-remove" for linux-image install
If we let it this way it may prevent linux-image-$arch to be downgraded
2021-01-11 23:03:04 +01:00
tytan652
f9256d4466 build: remove the removal of linux-image-$arch 2021-01-11 23:03:04 +01:00
tytan652
ae1cc8ddae build: add a way to restore the right linux-image 2021-01-11 23:03:04 +01:00
tytan652
9726a65f3e fix: add --priority= on ynh_pin_repo call 2021-01-11 23:03:04 +01:00
tytan652
44a050d71c build: update restore and upgrade script 2021-01-11 23:03:04 +01:00
tytan652
11e947d4f9 build: add repo with custom package pin-priority 2021-01-11 23:03:04 +01:00
tytan652
ab195dd21f Revert "build: set extra repo priotity to -1"
This reverts commit f23ed373284c45dd51e4c06a90f61279c002a707.
2021-01-11 23:03:04 +01:00
tytan652
1eefdce409 build: set extra repo priotity to -1 2021-01-11 23:03:04 +01:00
tytan652
ffe90adfc3 build: add wireguard-dkms as dependencie 2021-01-11 23:03:04 +01:00
tituspijean
b026186df2 There is no Fail2Ban config to back up 2021-01-08 19:06:50 +01:00
tituspijean
9b30e20e26 Swap service removal order
Prevents warning about wireguard.service being still activable
if wireguard.path is not removed first
2021-01-08 19:06:50 +01:00
tytan652
80782d4fc5 doc: remove and edit some comments 2021-01-08 19:06:50 +01:00
tituspijean
b19e90561c Add test_status for wireguard service 2021-01-08 19:06:50 +01:00
tytan652
39d8e22986 build(level 5): set --weight and remove --time 2021-01-08 19:06:50 +01:00
tytan652
31ad24bcad fix(level 5): add --quiet to systemctl in restore 2021-01-08 19:06:50 +01:00
tytan652
6af8da90dc fix(level 3): use the right src file 2021-01-08 19:06:50 +01:00
tytan652
8dea863026 refactor(level 3): move some code to right section 2021-01-08 19:06:50 +01:00
tytan652
a49c6c50ce feat(level 3): add new port setter in upgrade 2021-01-08 19:06:50 +01:00
tytan652
dc1278c60a feat(level 4): add is_public in restore 2021-01-08 19:06:50 +01:00
tytan652
de7a77364c refactor(level 3): WG service set in upgrade 2021-01-08 19:06:50 +01:00