Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
F
FreeBSD ports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
FreeBSD
FreeBSD ports
Commits
6fad5555
Commit
6fad5555
authored
2 years ago
by
Hans Petter Selasky
Browse files
Options
Downloads
Patches
Plain Diff
audio/hpsjam: Add rc.d file for starting HpsJam server similar to Jamulus.
Approved by: pi (implicit)
parent
3d695984
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
audio/hpsjam/Makefile
+5
-0
5 additions, 0 deletions
audio/hpsjam/Makefile
audio/hpsjam/files/hpsjam_server.in
+34
-0
34 additions, 0 deletions
audio/hpsjam/files/hpsjam_server.in
with
39 additions
and
0 deletions
audio/hpsjam/Makefile
+
5
−
0
View file @
6fad5555
PORTNAME
=
hpsjam
DISTVERSIONPREFIX
=
v
DISTVERSION
=
1.2.6
PORTREVISION
=
1
CATEGORIES
=
audio
MAINTAINER
=
hselasky@FreeBSD.org
...
...
@@ -20,6 +21,10 @@ USE_GITHUB= yes
GH_ACCOUNT
=
hselasky
GH_TUPLE
=
mborgerding:kissfft:131.1.0:a/kissfft
USER
=
nobody
SUB_LIST
=
USER
=
${
USER
}
USE_RC_SUBR
=
${
PORTNAME
}
_server
PLIST_FILES
=
\
bin/HpsJam
\
share/pixmaps/HpsJam.png
\
...
...
This diff is collapsed.
Click to expand it.
audio/hpsjam/files/hpsjam_server.in
0 → 100644
+
34
−
0
View file @
6fad5555
#!/bin/sh
# PROVIDE: hpsjam_server
# REQUIRE: DAEMON NETWORKING
# KEYWORD: shutdown
# Add the following lines to /etc/rc.conf to enable hpsjam_server:
# hpsjam_server_enable : set to "YES" to enable the daemon, default is "NO"
# hpsjam_server_uname : user to run hpsjam_server as, default is "%%USER%%"
# hpsjam_server_flags : extra flags to pass to daemon(8), default is ""
# hpsjam_server_args : any arguments to pass to hpsjam_server, default is ""
#
# See output from HpsJam --help for more options
#
.
/etc/rc.subr
name
=
hpsjam_server
rcvar
=
hpsjam_server_enable
load_rc_config
$name
hpsjam_server_enable
=
${
hpsjam_server_enable
:-
"NO"
}
hpsjam_server_uname
=
${
hpsjam_server_uname
:-
"%%USER%%"
}
hpsjam_server_flags
=
${
hpsjam_server_flags
:-
""
}
hpsjam_server_args
=
${
hpsjam_server_args
:-
""
}
logfile
=
"/var/log/
${
name
}
.log"
procname
=
%%PREFIX%%/bin/HpsJam
command
=
"/usr/sbin/daemon"
command_args
=
"-u
${
hpsjam_server_uname
}
-o
${
logfile
}
-t
${
name
}
${
procname
}
--server
${
hpsjam_server_args
}
"
run_rc_command
"
$1
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment