mirror of
https://github.com/YunoHost-Apps/owncloud_ynh.git
synced 2024-09-03 19:56:25 +02:00
naming
This commit is contained in:
parent
ff278863d6
commit
a5228c819c
5 changed files with 7 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Owncloud server
|
Description=ownCloud Infinite Scale server
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
@ -7,7 +7,7 @@ User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
Environment=PROXY_HTTP_ADDR=127.0.0.1:__PORT__
|
Environment=PROXY_HTTP_ADDR=127.0.0.1:__PORT__
|
||||||
Environment=OCIS_URL=https://__DOMAIN__
|
Environment=OCIS_URL=https://__DOMAIN__
|
||||||
ExecStart=__INSTALL_DIR__/owncloud server
|
ExecStart=__INSTALL_DIR__/ocis server
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
# Sandboxing options to harden security
|
# Sandboxing options to harden security
|
||||||
|
|
|
@ -48,7 +48,7 @@ ram.runtime = "50M"
|
||||||
armhf.url = "https://download.owncloud.com/ocis/ocis/stable/4.0.1/ocis-4.0.1-linux-arm"
|
armhf.url = "https://download.owncloud.com/ocis/ocis/stable/4.0.1/ocis-4.0.1-linux-arm"
|
||||||
armhf.sha256 = "d6cd4c21356f0ebaaa8bfda0e2b3bd481402248af4647c901141f85febc16106"
|
armhf.sha256 = "d6cd4c21356f0ebaaa8bfda0e2b3bd481402248af4647c901141f85febc16106"
|
||||||
in_subdir = false
|
in_subdir = false
|
||||||
rename = "owncloud"
|
rename = "ocis"
|
||||||
|
|
||||||
[resources.ports]
|
[resources.ports]
|
||||||
main.default = 9200
|
main.default = 9200
|
||||||
|
|
|
@ -20,7 +20,7 @@ ynh_setup_source --dest_dir="$install_dir"
|
||||||
chmod 750 "$install_dir"
|
chmod 750 "$install_dir"
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
chown -R $app:www-data "$install_dir"
|
chown -R $app:www-data "$install_dir"
|
||||||
chmod +x $install_dir/owncloud
|
chmod +x $install_dir/ocis
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
|
@ -50,7 +50,7 @@ yunohost service add $app --description="File sharing platform" --log="/var/log/
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Installing $app..." --weight=3
|
ynh_script_progression --message="Installing $app..." --weight=3
|
||||||
|
|
||||||
(cd "$install_dir" && ./owncloud init --insecure=true --force-overwrite=true --admin-password=$password --config-path=$install_dir/.ocis/config)
|
(cd "$install_dir" && ./ocis init --insecure=true --force-overwrite=true --admin-password=$password --config-path=$install_dir/.ocis/config)
|
||||||
|
|
||||||
chmod 750 "$install_dir"
|
chmod 750 "$install_dir"
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
|
|
|
@ -20,7 +20,7 @@ ynh_restore_file --origin_path="$install_dir"
|
||||||
chmod 750 "$install_dir"
|
chmod 750 "$install_dir"
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
chown -R $app:www-data "$install_dir"
|
chown -R $app:www-data "$install_dir"
|
||||||
chmod +x $install_dir/owncloud
|
chmod +x $install_dir/ocis
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTORE THE DATA DIRECTORY
|
# RESTORE THE DATA DIRECTORY
|
||||||
|
|
|
@ -39,7 +39,7 @@ fi
|
||||||
chmod 750 "$install_dir"
|
chmod 750 "$install_dir"
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
chown -R $app:www-data "$install_dir"
|
chown -R $app:www-data "$install_dir"
|
||||||
chmod +x $install_dir/owncloud
|
chmod +x $install_dir/ocis
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# PHP-FPM CONFIGURATION
|
# PHP-FPM CONFIGURATION
|
||||||
|
|
Loading…
Add table
Reference in a new issue