mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
systemctl daemon-reload instead of disable/copy/enable when upgrade
This commit is contained in:
parent
d0b0a14396
commit
71f68e3e23
3 changed files with 2 additions and 6 deletions
|
@ -14,7 +14,7 @@ Current Movim version : 0.9 git2015-08-31
|
|||
- Add notes in README about public pods & whitelisting
|
||||
- Remove script now delete Movim php5-fpm pool.
|
||||
- Remove script delete 'movim' user after shutting down Movim service.
|
||||
- Movim systemd service now has a PID and logs in syslog
|
||||
- Movim systemd service now has a PID and a syslog identifier.
|
||||
- Remove proxy_read_timeout and proxy_send_timeout in vhost configuration (default 60s is enough)
|
||||
|
||||
0.8b 2015-08-24
|
||||
|
|
1
TODO
1
TODO
|
@ -2,4 +2,3 @@
|
|||
- Set timezone in php5-fpm pool
|
||||
- Movim init script should redirect to syslog
|
||||
- Upgrade php dependencies script
|
||||
- Upgrade systemd service script
|
||||
|
|
|
@ -43,11 +43,8 @@ sudo sed -i "s@YHPORT@$port@g" ../conf/movim.{service,init}
|
|||
initcheck=`pgrep -ox systemd`
|
||||
if [ "$initcheck" = "1" ];
|
||||
then
|
||||
sudo systemctl stop movim.service
|
||||
sudo systemctl disable movim.service
|
||||
sudo cp ../conf/movim.service /lib/systemd/system/
|
||||
sudo systemctl enable movim.service
|
||||
sudo systemctl start movim.service
|
||||
sudo systemctl daemon-reload
|
||||
else
|
||||
sudo /etc/init.d/movim stop
|
||||
sudo cp ../conf/movim.init /etc/init.d/movim
|
||||
|
|
Loading…
Reference in a new issue