committed by
Fredrik Fornwall
6 changed files with 37 additions and 4 deletions
@ -0,0 +1,9 @@ |
|||||
|
TERMUX_PKG_HOMEPAGE=https://github.com/Neo-Oli/termux-services/ |
||||
|
TERMUX_PKG_DESCRIPTION="Service daemon for Termux" |
||||
|
TERMUX_PKG_VERSION=0.0.3 |
||||
|
TERMUX_PKG_LICENSE="custom" |
||||
|
TERMUX_PKG_SRCURL=https://github.com/Neo-Oli/termux-services/archive/$TERMUX_PKG_VERSION.tar.gz |
||||
|
TERMUX_PKG_SHA256=5cb368761401b26e15529f113c8ce0b8e735fa0e911269fb7476cb8d42223c95 |
||||
|
TERMUX_PKG_DEPENDS="busybox, coreutils" |
||||
|
TERMUX_PKG_PLATFORM_INDEPENDENT=yes |
||||
|
TERMUX_PKG_BUILD_IN_SRC=yes |
@ -0,0 +1,7 @@ |
|||||
|
--- ../start-services.sh.orig 2019-07-27 14:03:44.761403867 +0200
|
||||
|
+++ ./start-services.sh 2019-07-27 14:01:49.473403949 +0200
|
||||
|
@@ -1,3 +1,3 @@
|
||||
|
export SVDIR=$PREFIX/var/service |
||||
|
export LOGDIR=$PREFIX/var/log |
||||
|
-(termux-services start >/dev/null 2>&1 & )
|
||||
|
+(service-daemon start >/dev/null 2>&1 & )
|
@ -1,5 +1,8 @@ |
|||||
|
. @TERMUX_PREFIX@/etc/profile |
||||
command_not_found_handler() { |
command_not_found_handler() { |
||||
@TERMUX_PREFIX@/libexec/termux/command-not-found $1 |
@TERMUX_PREFIX@/libexec/termux/command-not-found $1 |
||||
} |
} |
||||
|
#set nomatch so *.sh would not error if no file is available |
||||
|
setopt +o nomatch |
||||
|
. @TERMUX_PREFIX@/etc/profile |
||||
PS1='%# ' |
PS1='%# ' |
||||
|
Loading…
Reference in new issue