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

91 commits

Author SHA1 Message Date
tituspijean
721484eda1
Enable and start .path service 2021-12-26 12:16:10 +01:00
tituspijean
1929f4bba0
Drop wg0.conf autoinstall 2021-12-22 19:20:27 +01:00
tituspijean
20ecc320aa
Revert "Appease linter about ynh_install_app_dependencies"
This reverts commit 41fe61cf21.
2021-12-22 17:24:56 +01:00
tituspijean
bdae85a4d9
Merge pull request #40 from YunoHost-Apps/enh
Enhancements
2021-12-22 15:33:48 +01:00
tituspijean
41fe61cf21
Appease linter about ynh_install_app_dependencies 2021-12-22 15:18:28 +01:00
tituspijean
b147c0c7cb
Simplify services 2021-12-22 14:34:56 +01:00
tituspijean
eb0608f1f2
Silence service enabling 2021-12-21 18:18:50 +01:00
tituspijean
242e4b2c2f
Drop sudoers in backup and restore too 2021-12-21 17:58:18 +01:00
tituspijean
33d7348d7e
Start and enable the VPN service 2021-12-21 17:57:39 +01:00
tituspijean
29f4015f46
Drop sudoers 2021-12-21 17:48:41 +01:00
tituspijean
88f5edb095
Simplify linux-headers dependency 2021-12-21 12:12:33 +01:00
tituspijean
806e6d4b18
ynh_detect_arch is now deprecated 2021-12-12 17:59:22 +01:00
ericgaspar
c01884cf2f
4.3 2021-12-09 12:31:02 +01:00
tituspijean
f3625daaf9
Do not require linux headers if kernel version >= 5.6 2021-11-06 16:00:48 +01:00
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
ac2ed5c292 Consistent commands for adding services 2021-09-09 20:39:53 +02:00
tituspijean
4298c965e9 Have WireGuard start on boot 2021-09-09 18:30:07 +02:00
tituspijean
ce85ee0451 Proper backup/restore of config_file_path 2021-09-09 18:08:00 +02:00
ericgaspar
7cf8f97840
Update install 2021-09-09 17:58:14 +02:00
ericgaspar
b82ee6e2d1
Fix 2021-09-09 17:49:45 +02:00
ericgaspar
e9d20c8bae
Fix 2021-09-09 15:03:30 +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