mirror of
https://github.com/house-of-vanity/furumi.git
synced 2025-07-06 21:24:08 +00:00
CI
This commit is contained in:
15
.github/workflows/mus-fuse.install
vendored
15
.github/workflows/mus-fuse.install
vendored
@ -1,15 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
srv_name=furumi
|
|
||||||
if systemctl | grep -Fq "$srv_name"; then
|
|
||||||
sudo systemctl stop $srv_name.service
|
|
||||||
fi
|
|
||||||
|
|
||||||
sudo useradd --system --user-group --no-create-home --home-dir /run/$srv_name $srv_name
|
|
||||||
mkdir -p /mnt/$srv_name
|
|
||||||
chown $srv_name:$srv_name /mnt/$srv_name
|
|
||||||
echo ":: !!!!!!!!!!!!!!!"
|
|
||||||
echo ":: You need to uncomment 'user_allow_other' in /etc/fuse.conf"
|
|
||||||
echo ":: !!!!!!!!!!!!!!!"
|
|
||||||
}
|
|
Reference in New Issue
Block a user