1
0
Fork 0
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:
ericgaspar 2020-11-06 11:22:18 +01:00
parent e01c1b5a99
commit 0382b76c19
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 19 additions and 15 deletions

View file

@ -9,7 +9,7 @@
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
## 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
@ -19,23 +19,13 @@ Navidrome is an open source web-based music collection server and streamer. It g
## Demo
* [Official demo](https://demo.navidrome.org/app/#/login)
* [Official demo](https://play.facette.io/browse/)
## 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
* Official documentation: https://www.navidrome.org/docs/
* Official documentation:
* YunoHost documentation: https://yunohost.org/#/app_facette
## YunoHost specific features

15
conf/systemd.service Normal file
View 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

View file

@ -18,8 +18,7 @@
},
"multi_instance": false,
"services": [
"nginx",
"php7.0-fpm",
"nginx"
"mysql"
],
"arguments": {