Skip to content

Commit 1d46de9

Browse files
committed
update.sh added
1 parent ada239f commit 1d46de9

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,14 @@ Please note that these are very simple scripts that don't implement error checki
1111

1212
## Usage
1313

14+
$ cd /tmp
1415
$ git clone https://github.com/hranicka/php-7-debian.git
1516
$ cd php-7-debian
1617
$ ./build.sh
1718
$ sudo ./install.sh
1819

20+
If you need only an **update**, just replace `sudo ./install.sh` with `sudo ./update.sh`.
21+
1922
The PHP-FPM can be operated using the `php7-fpm` init script:
2023

2124
Usage: /etc/init.d/php7-fpm {start|stop|status|restart|reload|force-reload}

update.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
cd "$(dirname "$0")"
3+
4+
service php7-fpm restart

0 commit comments

Comments
 (0)