72 Commits

Author SHA1 Message Date
pitchum
993441d89f Rewriting packages scripts. backup (WIP). 2018-12-02 11:19:50 +01:00
pitchum
c47d8e2195 Moar experimental helpers needed. 2018-12-02 11:18:38 +01:00
pitchum
ed17abfd32 Bugfix: revert changes not compatible with stable yunohost. 2018-12-02 11:18:38 +01:00
pitchum
8294528c67 Add missing helpers.
- read_json
- read_manifest
- abort_if_up_to_date
2018-12-02 11:18:38 +01:00
pitchum
432569620c [mod] upgrade, disable auto-backup/restore 2018-12-02 11:18:38 +01:00
pitchum
abd0145d4e [fix] Do not start vpnclient service on first install. 2018-12-02 11:18:38 +01:00
pitchum
abce6aef00 [mod] install and upgrade scripts share some common code. 2018-12-02 11:18:36 +01:00
pitchum
8cbe81be03 [mod] backup script rewritten (inspired and adpated from example_ynh).
Currently neither backup nor restore are useful but are safe enough to
not break the upgrade script. That's what matters for now.
2018-12-02 11:15:06 +01:00
pitchum
f6165c5dc6 [fix] upgrade script renames paths to comply with the new ones. 2018-12-02 11:04:43 +01:00
pitchum
5ff35acd1c [mod] upgrade script simplified: does nothing except a backup. 2018-12-02 11:00:10 +01:00
pitchum
124d11cebe [mod] Hard-coded occurrences of "vpnadmin" replaced with ${app} (where appropriate). 2018-12-02 10:57:10 +01:00
Alexandre Aubin
8356355da6 Fix upgrade maybe :< 2018-12-01 18:52:59 +01:00
agentcobra
8b3a04fb90 emergency fix
with 
- 5654b6d0b266b14a5432bcd2f3e8428ef0f53ac9
- 081447008c7854ac3a1ae84e4e33eb112572b783
- a642a010291a010ee6d88ee6473fc34d1654d5a2
2018-09-10 21:50:47 +02:00
Julien Vaubourg
50c3346c26 Use systemctl helper to avoid deadlocks with ynh 2.7 and check path avaibility with no deprecated method 2017-08-30 14:27:56 +02:00
Julien Vaubourg
cd197483cd
Rollbacks as archives 2016-08-14 23:20:26 +02:00
Julien Vaubourg
d5f0b913af
You disappoint me, mr systemd 2016-08-14 22:30:41 +02:00
Julien Vaubourg
72e19aaacb
Test without quotes 2016-08-14 22:17:42 +02:00
Julien Vaubourg
d6b7958064
Stop timer when removing 2016-08-14 22:13:41 +02:00
Julien Vaubourg
43d44616fa
Remove quotes 2016-08-14 22:03:58 +02:00
Julien Vaubourg
fe1fbb990c
Add fucking missing sudo 2016-08-14 21:07:59 +02:00
Julien Vaubourg
453fababef
Add vpnclient checker timer and upgrade backups, to enable Bram to sleep better 2016-08-14 21:05:16 +02:00
Julien Vaubourg
093249b94e
pwd without prompt 2016-08-14 19:14:10 +02:00
Julien Vaubourg
20db75b2b0
show pwd 2016-08-14 18:56:29 +02:00
Julien Vaubourg
b367056139
Save client.conf.tpl if modified, when backuping and upgrading 2016-05-28 17:13:59 +02:00
Julien Vaubourg
dd6ca03207 Fix permissions 2016-05-14 22:44:32 +02:00
Julien Vaubourg
c27a94463a Fix i18n FR and add some sudo to restore script 2016-05-14 22:14:47 +02:00
Julien Vaubourg
4eff9815f0 Fix restore script 2016-05-14 21:24:06 +02:00
Julien Vaubourg
e5ce4acb6a Update restore procedure 2016-05-14 16:08:22 +02:00
Julien Vaubourg
9917f50085 yunohost-moulinette will be merged in yunohost 2016-02-27 17:34:41 +01:00
Julien Vaubourg
3f6f482059 Fix upgrade with DNS 2015-10-11 21:08:55 +02:00
Julien Vaubourg
832571f8f0 * Remove default value vpn.ldn-fai.net
* Update loadcube.sh help
* Allow incoming TCP/443 connections on the wired_interface
2015-10-08 20:19:35 +02:00
Julien Vaubourg
c8d4f9ca2a Remove Server Name in manifest.json 2015-09-29 23:54:05 +02:00
Julien Vaubourg
c8067dfc82 Add command-line cube file loader 2015-09-29 21:38:39 +02:00
Julien Vaubourg
abcddf3634 Replace Moulinette error by warning 2015-09-29 18:01:52 +02:00
Julien Vaubourg
4a10cecb9a Merge 2015-09-29 15:01:54 +02:00
Julien Vaubourg
e001f16c2d Fix #22 2015-09-28 16:53:22 +02:00
Julien Vaubourg
9bc83f4f6a Openvpn restarts on failure thanks to systemd 2015-09-28 15:28:44 +02:00
Julien Vaubourg
7b05614b3c Add firewalling 2015-09-27 16:03:01 +02:00
Julien VAUBOURG
67d17653fb Save settings before upgrading 2015-07-26 10:43:58 +02:00
Julien VAUBOURG
6bc8691d4d Add backup/restore scripts 2015-07-25 16:33:57 +02:00
Julien VAUBOURG
09f23b5a08 Improve upgrade script 2015-07-24 19:44:34 +02:00
Julien VAUBOURG
ad2697c0f0 Improve upgrade script 2015-07-24 19:22:17 +02:00
Sebastien Badia
0b1ecb41e1 doc: Fix Contribute link (update namespace) 2015-07-22 23:52:09 +02:00
Julien VAUBOURG
522debc73d Add upgrade script 2015-07-13 17:25:43 +02:00
Julien VAUBOURG
6ffe098dcc Ready for Jessie (+ some improvements) 2015-05-25 02:23:45 +02:00
Sebastien Badia
bf7f9aca56 conf: Remove un-needed headers 2015-05-14 16:38:02 -07:00
Sebastien Badia
f8257cb41b systemd: Add missing clean for init sh script 2015-05-14 16:30:07 -07:00
Sebastien Badia
52254fad0e systemd: migrate the SySv init script to a simple bash script 2015-05-13 01:29:43 +02:00
Sebastien Badia
67328ed1a7 systemd: Convert services (SySv init) to systemctl (systemd) commands 2015-05-13 01:25:10 +02:00
Julien VAUBOURG
11fe357edb Remove php.ini modification 2015-04-09 21:47:24 +02:00