mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
aur/monkey change pid file location to make it survive reboots
This commit is contained in:
parent
ac51f656f9
commit
3e3b6979ab
1 changed files with 3 additions and 3 deletions
|
@ -4,12 +4,12 @@
|
|||
#ALARM: moonman
|
||||
# -added .service file for systemd
|
||||
# -changed default port to 80 (required by .service)
|
||||
# -changed pid file dir from /var/log to /var/run/monkey
|
||||
# -changed pid file dir from /var/log/monkey to /var/run
|
||||
# -added fastcgi support
|
||||
|
||||
pkgname=monkey
|
||||
pkgver=1.1.1
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="A very small and fast open source web server for Linux"
|
||||
arch=('arm')
|
||||
url="http://www.monkey-project.com/"
|
||||
|
@ -33,7 +33,7 @@ build() {
|
|||
make DESTDIR=$pkgdir install
|
||||
|
||||
#change default pid file location from /var/log to /var/run/monkey
|
||||
sed -i -e "s/\/var\/log\/monkey\/monkey.pid/\/var\/run\/monkey\/monkey.pid/" $startdir/pkg/etc/monkey/monkey.conf
|
||||
sed -i -e "s/\/var\/log\/monkey\/monkey.pid/\/var\/run\/monkey.pid/" $startdir/pkg/etc/monkey/monkey.conf
|
||||
|
||||
#change default port to 80
|
||||
sed -i -e "s/Port\ 2001/Port\ 80/" $startdir/pkg/etc/monkey/monkey.conf
|
||||
|
|
Loading…
Reference in a new issue