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})
-
+++ /dev/null
-# 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"
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