pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/ruby-redmine50/files



Module Name:    pkgsrc
Committed By:   triaxx
Date:           Fri Apr 14 06:57:31 UTC 2023

Modified Files:
        pkgsrc/devel/ruby-redmine50/files: redmine50_migrate_plugins.sh
            redmine50_unicorn.sh

Log Message:
ruby-redmine50: Fix redmine version in rc.d and plugin migration scripts


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/devel/ruby-redmine50/files/redmine50_migrate_plugins.sh \
    pkgsrc/devel/ruby-redmine50/files/redmine50_unicorn.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/ruby-redmine50/files/redmine50_migrate_plugins.sh
diff -u pkgsrc/devel/ruby-redmine50/files/redmine50_migrate_plugins.sh:1.1 pkgsrc/devel/ruby-redmine50/files/redmine50_migrate_plugins.sh:1.2
--- pkgsrc/devel/ruby-redmine50/files/redmine50_migrate_plugins.sh:1.1  Sat Sep  3 13:53:59 2022
+++ pkgsrc/devel/ruby-redmine50/files/redmine50_migrate_plugins.sh      Fri Apr 14 06:57:31 2023
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-/etc/rc.d/redmine42_unicorn status > /dev/null 2>&1
+/etc/rc.d/redmine50_unicorn status > /dev/null 2>&1
 
 if [ $? -eq 0 ]; then
        echo 'Please, stop Redmine unicorn before running this script.'
Index: pkgsrc/devel/ruby-redmine50/files/redmine50_unicorn.sh
diff -u pkgsrc/devel/ruby-redmine50/files/redmine50_unicorn.sh:1.1 pkgsrc/devel/ruby-redmine50/files/redmine50_unicorn.sh:1.2
--- pkgsrc/devel/ruby-redmine50/files/redmine50_unicorn.sh:1.1  Sat Sep  3 13:53:59 2022
+++ pkgsrc/devel/ruby-redmine50/files/redmine50_unicorn.sh      Fri Apr 14 06:57:31 2023
@@ -1,20 +1,20 @@
 #!/bin/sh
 #
-# $NetBSD: redmine50_unicorn.sh,v 1.1 2022/09/03 13:53:59 taca Exp $
+# $NetBSD: redmine50_unicorn.sh,v 1.2 2023/04/14 06:57:31 triaxx Exp $
 #
 
-# PROVIDE: redmine42_unicorn@RUBY_SUFFIX@
+# PROVIDE: redmine50_unicorn@RUBY_SUFFIX@
 # REQUIRE: DAEMON
 # KEYWORD: shutdown
 
 . /etc/rc.subr
 
-name="redmine42_unicorn@RUBY_SUFFIX@"
+name="redmine50_unicorn@RUBY_SUFFIX@"
 rcvar=$name
-start_cmd="redmine42_unicorn_start"
-stop_cmd="redmine42_unicorn_stop"
+start_cmd="redmine50_unicorn_start"
+stop_cmd="redmine50_unicorn_stop"
 
-redmine42_unicorn_start()
+redmine50_unicorn_start()
 {
        cd @PREFIX@/@RM_DIR@
        @PREFIX@/bin/unicorn@RUBY_SUFFIX@ \
@@ -22,7 +22,7 @@ redmine42_unicorn_start()
                -E production -D
 }
 
-redmine42_unicorn_stop()
+redmine50_unicorn_stop()
 {
        /bin/kill -QUIT `/bin/cat @PREFIX@/@RM_DIR@/unicorn.pid`
 }



Home | Main Index | Thread Index | Old Index