mirror of
https://github.com/house-of-vanity/mus-fuse.git
synced 2025-07-06 13:14:08 +00:00
Update name and unit file.
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -34,6 +34,6 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
|
||||
asset_path: ./target/release/musfuse
|
||||
asset_name: mus_fuse
|
||||
asset_path: ./target/release/mus-fuse
|
||||
asset_name: mus-fuse
|
||||
asset_content_type: application/x-pie-executable
|
||||
|
@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "musfuse"
|
||||
name = "mus-fuse"
|
||||
version = "0.6.0"
|
||||
authors = ["AB <ultradesu@hexor.ru>"]
|
||||
edition = "2018"
|
||||
|
@ -13,7 +13,7 @@ MusFuse is a FUSE filesystem over HTTP for music. It is using [playongo](https:/
|
||||
- Leverages Rust correctness.
|
||||
|
||||
## How to use
|
||||
Here is a [binary release](https://github.com/house-of-vanity/mus_fuse/releases/latest) or compile it yourself. Anyway mind about dependencies listed below. Also there is a systemd unit file for managing service.
|
||||
Here is a [binary release](https://github.com/house-of-vanity/mus_fuse/releases/latest) or compile it yourself. Anyway mind about dependencies listed below. Also there is a systemd unit file for managing service. Place it into `~/.config/systemd/user/mus-fuse.service`
|
||||
|
||||
```sh
|
||||
# Compile
|
||||
@ -23,7 +23,7 @@ $ cargo build --release
|
||||
# to baypass Basic Auth set
|
||||
# $HTTP_USER and $HTTP_PASS
|
||||
# environment variables before run.
|
||||
$ ./target/release/musfuse <mountpoint> <server>
|
||||
$ ./target/release/mus-fuse -m <mountpoint> -s <server>
|
||||
|
||||
# To get metrics
|
||||
$ cat <mountpoint>/METRICS.TXT
|
||||
|
@ -2,12 +2,13 @@
|
||||
Description=Mount mus-fuse
|
||||
|
||||
[Service]
|
||||
User=ab
|
||||
Type=simple
|
||||
Environment=HTTP_USER=user
|
||||
Environment=HTTP_PASS=pass
|
||||
ExecStart=/usr/bin/mus-fuse /MUS https://mus.hexor.ru
|
||||
RestartSec=5
|
||||
Restart=always
|
||||
Environment=HTTP_USER=<USER>
|
||||
Environment=HTTP_PASS=<PASS>
|
||||
ExecStart=/usr/local/bin/mus-fuse --mountpoint <PATH> --server <ADDRESS>
|
||||
KillSignal=SIGINT
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=default.target
|
||||
|
Reference in New Issue
Block a user