mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 15:10:35 -04:00
on java/linux-sun-jre17. The latter port expired two months ago. While here address portlint issues: - regenerate patches - use %%DATADIR%% in pkg-plist - use PKGNAMEPREFIX - add java to CATEGORIES - remove empty trailing line from pkg-message PR: 209012 Submitted by: myself Approved by: maintainer timeout (subtil@gmail.com, 14 days)
20 lines
795 B
Text
20 lines
795 B
Text
--- scripts/CrashPlanEngine.orig 2016-04-24 10:38:26 UTC
|
|
+++ scripts/CrashPlanEngine
|
|
@@ -11,7 +11,7 @@ standard_startup() {
|
|
|
|
cd $TARGETDIR
|
|
|
|
- nice -n 19 $JAVACOMMON $SRV_JAVA_OPTS -classpath $FULL_CP com.backup42.service.CPService > $TARGETDIR/log/engine_output.log 2> $TARGETDIR/log/engine_error.log &
|
|
+ nice -n 19 $JAVACOMMON $SRV_JAVA_OPTS -classpath $FULL_CP com.backup42.service.CPService > $LOGDIR/engine_output.log 2> $LOGDIR/engine_error.log &
|
|
|
|
if [[ $! -gt 0 ]]; then
|
|
echo $! > $PIDFILE
|
|
@@ -80,7 +80,7 @@ do_startup() {
|
|
}
|
|
|
|
_findpid() {
|
|
- /bin/ps -eo 'pid,cmd'| grep 'app=CrashPlanService' | grep -v grep | awk '{ print $1 }'
|
|
+ /bin/ps -ewwo 'pid,command'| grep 'app=CrashPlanService' | grep -v grep | awk '{ print $1 }'
|
|
}
|
|
|
|
SCRIPT=$(ls -l $0 | awk '{ print $NF }')
|