mirror of
https://github.com/YunoHost-Apps/facette_ynh.git
synced 2024-09-03 18:36:02 +02:00
Add systemd
This commit is contained in:
parent
e01c1b5a99
commit
0382b76c19
3 changed files with 19 additions and 15 deletions
16
README.md
16
README.md
|
@ -9,7 +9,7 @@
|
||||||
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
|
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
Navidrome is an open source web-based music collection server and streamer. It gives you freedom to listen to your music collection from any browser or mobile device.
|
Facette is a web application to display time series data from various sources — such as collectd, Graphite, InfluxDB or KairosDB — on graphs, designed to be easy to setup and to use.
|
||||||
|
|
||||||
**Shipped version:** 0.37.0
|
**Shipped version:** 0.37.0
|
||||||
|
|
||||||
|
@ -19,23 +19,13 @@ Navidrome is an open source web-based music collection server and streamer. It g
|
||||||
|
|
||||||
## Demo
|
## Demo
|
||||||
|
|
||||||
* [Official demo](https://demo.navidrome.org/app/#/login)
|
* [Official demo](https://play.facette.io/browse/)
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
#### Where are stored your music files
|
|
||||||
|
|
||||||
Your music files are stored by default in your shared [multimedia folder](https://github.com/YunoHost-Apps/yunohost.multimedia) `/home/yunohost.multimedia/share/Music`. This folder is accessible from Nextcloud with *External Storages* enabled. This will allow you to easily upload your music files to the server.
|
|
||||||
|
|
||||||
You can configure an alternative path to you music files by editing the path `MusicFolder = "/home/yunohost.multimedia/share/Music"` in this file `/var/lib/navidrome/navidrome.toml` using the [documentation](https://www.navidrome.org/docs/usage/configuration-options/).
|
|
||||||
|
|
||||||
#### Client player
|
|
||||||
|
|
||||||
You must activate *public site* if you want to connect a client player to Navidrome.
|
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
* Official documentation: https://www.navidrome.org/docs/
|
* Official documentation:
|
||||||
* YunoHost documentation: https://yunohost.org/#/app_facette
|
* YunoHost documentation: https://yunohost.org/#/app_facette
|
||||||
|
|
||||||
## YunoHost specific features
|
## YunoHost specific features
|
||||||
|
|
15
conf/systemd.service
Normal file
15
conf/systemd.service
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Facette: Time series data visualization software
|
||||||
|
After=remote-fs.target network.target
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=__APP__
|
||||||
|
Group=__APP__
|
||||||
|
ExecStart=__FINAL_PATH__/facette -c path/to/facette.yaml
|
||||||
|
TimeoutStopSec=20
|
||||||
|
KillMode=process
|
||||||
|
Restart=on-failure
|
|
@ -18,8 +18,7 @@
|
||||||
},
|
},
|
||||||
"multi_instance": false,
|
"multi_instance": false,
|
||||||
"services": [
|
"services": [
|
||||||
"nginx",
|
"nginx"
|
||||||
"php7.0-fpm",
|
|
||||||
"mysql"
|
"mysql"
|
||||||
],
|
],
|
||||||
"arguments": {
|
"arguments": {
|
||||||
|
|
Loading…
Add table
Reference in a new issue