Date: Wed, 14 Dec 2016 06:32:41 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 213641] www/otrs: Update to 5.0.13, Minor improvements Message-ID: <bug-213641-13-OXK0VXY6Gc@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-213641-13@https.bugs.freebsd.org/bugzilla/> References: <bug-213641-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213641 --- Comment #3 from knezour@weboutsourcing.cz --- Hi, this is working for me as /usr/local/etc/rc.d/otrs, but it is my first try = on rc scripting, so it may not be the best possible way -------------- #!/bin/sh # PROVIDE: otrs . /etc/rc.subr name=3D"otrs" rcvar=3Dotrs_enable load_rc_config $name : ${otrs_enable:=3Dno} otrs_user=3Dotrs command_interpreter=3D/usr/local/bin/perl command=3D/usr/local/otrs/bin/otrs.Daemon.pl start_postcmd=3D"su -m otrs -c '/usr/local/otrs/bin/Cron.sh start'" stop_precmd=3D"su -m otrs -c '/usr/local/otrs/bin/Cron.sh stop'" status_cmd=3D"su -m otrs -c '/usr/local/otrs/bin/otrs.Daemon.pl status'" start_cmd=3D"su -m otrs -c '/usr/local/otrs/bin/otrs.Daemon.pl start'" stop_cmd=3D"su -m otrs -c '/usr/local/otrs/bin/otrs.Daemon.pl stop'" run_rc_command "$1" --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213641-13-OXK0VXY6Gc>