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

71 commits

Author SHA1 Message Date
tituspijean
1876b4cb54
Set up Post Up and Down scripts with interface detection 2021-11-03 00:09:09 +01:00
tituspijean
edaa31b773 Consistent commands for adding services 2021-09-09 23:38:24 +02:00
tituspijean
e8e5d577fa Have WireGuard start on boot 2021-09-09 23:38:24 +02:00
tituspijean
0f1f1232b1 Proper backup/restore of config_file_path 2021-09-09 23:38:24 +02:00
ericgaspar
75cea9d0e0 Update install 2021-09-09 23:38:24 +02:00
ericgaspar
003b48c3ff Fix 2021-09-09 23:38:24 +02:00
ericgaspar
834a2b2371 Fix 2021-09-09 23:38:24 +02:00
tituspijean
675c316105 Fix backup and restore of /etc/wireguard
Simple is better.
2021-07-04 21:48:27 +02:00
tituspijean
01f21b05ea Fix permissions 2021-07-04 21:43:33 +02:00
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