41 Commits

Author SHA1 Message Date
Kayou
efee70b606
Fix upgrade 2019-03-12 00:57:58 +01:00
Kayou
0d668765e5
No more service_name 2019-03-11 20:30:16 +01:00
Kayou
a05204c26c
description in upgrade 2019-02-27 22:48:57 +01:00
Kayou
7e3813808b
Fix missing arg 2019-02-27 22:05:06 +01:00
Kayou
8d1dbc3684
Retrieve service_name 2019-02-27 21:45:28 +01:00
Kayou
aff39ce947
upgrade: using ynh_replace_string and php 7 2019-02-27 21:09:16 +01:00
keoma
6f71831614 updating script to new standards 2019-02-26 21:13:27 +01:00
keoma
5c90da1a79 fix #53 2019-02-26 21:00:45 +01:00
keoma
7646ffbb28 fix #50 2019-02-25 22:24:19 +01:00
Alexandre Aubin
ed60b7782a No need to sudo all over the place 2018-12-18 20:44:24 +01:00
Alexandre Aubin
fe159638f5 rm -rf -> ynh_secure_remove 2018-12-18 20:44:24 +01:00
Alexandre Aubin
2f04d16d4f At the end of the upgrade, restart vpnclient only if it's already active 2018-12-02 23:27:35 +01:00
pitchum
9edd5f3b96 [mod] Reenable abort_if_erros in upgrade script (to make package_linter happy). 2018-12-02 18:52:17 +01:00
pitchum
f9ab657dbb [mod] Make our package_linter happy again. 2018-12-02 16:29:54 +01:00
pitchum
4929faf2be [fix] Backport fixes from my old dev branch. 2018-12-02 13:03:23 +01:00
pitchum
e86d83049e [fix] upgrade script needs sourcing _common.sh and helpers. 2018-12-02 12:23:30 +01:00
pitchum
94bbcdb2db [fix] Create a dedicated system user with proper sudo permissions.
Ref. #41.
2018-12-02 11:22:19 +01:00
pitchum
432569620c [mod] upgrade, disable auto-backup/restore 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
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
e5ce4acb6a Update restore procedure 2016-05-14 16:08:22 +02:00
Julien Vaubourg
3f6f482059 Fix upgrade with DNS 2015-10-11 21:08:55 +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
Julien VAUBOURG
522debc73d Add upgrade script 2015-07-13 17:25:43 +02:00