28 Commits

Author SHA1 Message Date
cf1c63066e Remove unecessary shift 2023-01-25 14:19:49 -05:00
69fa244bde Temp debug 2023-01-25 14:18:36 -05:00
cee391006c Temp debug 2023-01-25 14:17:28 -05:00
f8628c529c Fix service file derp 2023-01-25 14:14:32 -05:00
97d6817e28 Remove temp debug 2023-01-25 14:09:21 -05:00
72432a4794 Allow overwriting existing fw rules 2023-01-25 14:08:00 -05:00
c5c7132a91 Fix u_ports 2023-01-25 14:06:31 -05:00
58f3b368e4 Debug output 2023-01-25 13:58:05 -05:00
d749704c40 Remove uneccesary vars 2023-01-25 13:53:19 -05:00
1249b7eaa7 Fix uninstall derp and remove unecessary cmd arrays 2023-01-25 12:20:21 -05:00
13a3b20221 Improve openFirewall() 2023-01-25 12:00:57 -05:00
6bd9fb666c Allow services alias 2023-01-25 09:44:22 -05:00
3adf6ff2aa Remove another command string 2023-01-24 13:56:16 -05:00
466cf089eb Auto-increment display num for xvnc 2023-01-24 13:51:07 -05:00
9a1045beb1 Auto-increment display num for xvnc 2023-01-24 13:39:50 -05:00
e76a4c7756 Auto-increment display num for xvnc 2023-01-24 13:31:26 -05:00
9112822141 Auto-increment display num for xvnc 2023-01-24 13:28:34 -05:00
547ce2d3ec Auto-increment display num for xvnc 2023-01-24 13:25:26 -05:00
a9e4108053 Add execute() 2023-01-24 12:40:48 -05:00
2656a083db Alias repo and remote 2023-01-24 12:19:09 -05:00
9cc2416e01 Cleanup formatting 2023-01-24 12:18:05 -05:00
7155e1141c Assign dev version for major change 2023-01-24 11:57:48 -05:00
56898849eb Cleanup output 2023-01-24 11:52:24 -05:00
20ef1b03c5 Replace eval strings with arrays 2023-01-24 11:47:47 -05:00
703433aa94 Tighten up docs, background container work 2023-01-24 10:57:32 -05:00
5d9553408e Prevent wrong debug return 2023-01-13 18:28:06 -05:00
dd603ab7f3 More pesky ;; 2023-01-11 12:30:30 -05:00
e0619ba8a3 Use and silent first debug 2023-01-11 12:23:45 -05:00
2 changed files with 343 additions and 401 deletions

View File

@@ -8,7 +8,7 @@ This program will install [JRiver Media Center](https://www.jriver.com/) (JRMC)
Running `installJRMC` without any options will install the latest version of JRiver Media Center from the official JRiver repository (Ubuntu/Debian) or my [unofficial repository](https://repos.bryanroessler.com/jriver/) (Fedora/CentOS) using the system package manager (`--install repo`). If any other option is specified, then the default install method (i.e. `--install repo` or `--install local`) will need to be explicitly specified. This makes it possible to install services and containers independent of MC.
**Note**: As of 1.0b14 major version library migrations are performed if the destination config directory `$HOME/.jriver/Media Center XX` is missing for major release `XX`. However, it is still a good idea to create a manual library backup before migrating major versions.
**Note**: As of v1.0b14 major version library migrations are performed if the destination config directory `$HOME/.jriver/Media Center XX` is missing for major release `XX`. However, it is still a good idea to create a manual library backup before migrating major versions.
## Options
@@ -16,14 +16,14 @@ Running `installJRMC` without any options will install the latest version of JRi
$ installJRMC --help
--install, -i repo|local
repo: Install MC from repository, future updates will be handled by the system package manager
local: Build and install MC package locally
local: Build and install MC package locally from official source package
--build[=suse|fedora|centos]
Build RPM from source DEB but do not install
Optionally, specify a target distro for cross-building (ex. --build=suse, note the '=')
--compat
Build/install MC without minimum library specifiers
Build/install MC without minimum dependency version requirements
--mcversion VERSION
Build or install a specific MC version, ex. "30.0.17"
Build or install a specific MC version, ex. "30.0.51"
--outputdir PATH
Generate rpmbuild output in this PATH (Default: ./output)
--restorefile RESTOREFILE
@@ -33,7 +33,7 @@ $ installJRMC --help
--service, -s SERVICE
See SERVICES section below for the list of services to deploy
--service-type user|system
Starts services at boot (system) or user login (user) (Default: system)
Starts services at boot (system) or user login (user) (Default: per-service see SERVICES)
--container, -c CONTAINER (TODO: Under construction)
See CONTAINERS section below for a list of containers to deploy
--createrepo[=suse|fedora|centos]
@@ -56,20 +56,20 @@ $ installJRMC --help
## Services
```text
jriver-mediaserver
jriver-mediaserver (default --service-type=user)
Enable and start a mediaserver systemd service (requires an existing X server)
jriver-mediacenter
jriver-mediacenter (user)
Enable and start a mediacenter systemd service (requires an existing X server)
jriver-x11vnc
jriver-x11vnc (user)
Enable and start x11vnc for the local desktop (requires an existing X server, does NOT support Wayland)
--vncpass and --display are also valid options (see below)
jriver-xvnc
jriver-xvnc (system)
Enable and start a new Xvnc session running JRiver Media Center
--vncpass PASSWORD
Set vnc password for x11vnc/Xvnc access. If no password is set, the script will either use existing password stored in ~/.vnc/jrmc_passwd or use no password
--display DISPLAY
Manually specify display to use for x11vnc/Xvnc (ex. ':1')
jriver-createrepo
jriver-createrepo (system)
Install hourly service to build latest MC RPM and run createrepo
By default installs as root service to handle www permissions more gracefully
```

File diff suppressed because it is too large Load Diff