mirror of
https://github.com/SuperBFG7/ympd
synced 2024-11-26 14:57:17 +00:00
removed init-config, changed default webport to 80
This commit is contained in:
parent
5d9e70750d
commit
9212e3af29
@ -52,10 +52,8 @@ endif()
|
||||
|
||||
|
||||
install(TARGETS ympd DESTINATION bin)
|
||||
install(FILES ympd.1 DESTINATION man)
|
||||
install(DIRECTORY htdocs DESTINATION share/${PROJECT_NAME})
|
||||
install(FILES contrib/init.debian DESTINATION /etc/init.d
|
||||
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE
|
||||
WORLD_READ WORLD_EXECUTE RENAME ${PROJECT_NAME})
|
||||
install(FILES contrib/default.debian DESTINATION /etc/default/${PROJECT_NAME}
|
||||
RENAME ${PROJECT_NAME})
|
||||
|
||||
|
@ -1,6 +0,0 @@
|
||||
# Set this to the user and group the ympd should get after socket opening.
|
||||
YMPD_USER=ympd
|
||||
YMPD_GROUP=ympd
|
||||
|
||||
# See ympd --help for more options
|
||||
DAEMON_OPT="--uid $YMPD_USER --gid $YMPD_GROUP"
|
@ -20,9 +20,9 @@ PIDFILE=/var/run/$NAME.pid
|
||||
SCRIPTNAME=/etcinit.d/$NAME
|
||||
LOG_OUT=/var/log/$NAME.out
|
||||
LOG_ERR=/var/log/$NAME.err
|
||||
YMPD_USER=ympd
|
||||
YMPD_GROUP=ympd
|
||||
DAEMON_OPT="--uid $YMPD_USER --gid $YMPD_GROUP"
|
||||
YMPD_USER=mpd
|
||||
YMPD_GROUP=mpd
|
||||
DAEMON_OPT="--uid $YMPD_USER --gid $YMPD_GROUP --webport 80"
|
||||
|
||||
# Exit if the package is not installed
|
||||
[ -x "$DAEMON" ] || exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user