diff --git a/conf/systemd.service b/conf/systemd.service index 947750d..be5e9c4 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -1,5 +1,5 @@ [Unit] -Description=Owncloud server +Description=ownCloud Infinite Scale server [Service] Type=simple @@ -7,7 +7,7 @@ User=__APP__ Group=__APP__ Environment=PROXY_HTTP_ADDR=127.0.0.1:__PORT__ Environment=OCIS_URL=https://__DOMAIN__ -ExecStart=__INSTALL_DIR__/owncloud server +ExecStart=__INSTALL_DIR__/ocis server Restart=always # Sandboxing options to harden security diff --git a/manifest.toml b/manifest.toml index b302877..3f1265b 100644 --- a/manifest.toml +++ b/manifest.toml @@ -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.sha256 = "d6cd4c21356f0ebaaa8bfda0e2b3bd481402248af4647c901141f85febc16106" in_subdir = false - rename = "owncloud" + rename = "ocis" [resources.ports] main.default = 9200 diff --git a/scripts/install b/scripts/install index 02b5e4d..a471a5d 100755 --- a/scripts/install +++ b/scripts/install @@ -20,7 +20,7 @@ ynh_setup_source --dest_dir="$install_dir" chmod 750 "$install_dir" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" -chmod +x $install_dir/owncloud +chmod +x $install_dir/ocis #================================================= # 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 -(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 -R o-rwx "$install_dir" diff --git a/scripts/restore b/scripts/restore index 57d2014..bf68e09 100755 --- a/scripts/restore +++ b/scripts/restore @@ -20,7 +20,7 @@ ynh_restore_file --origin_path="$install_dir" chmod 750 "$install_dir" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" -chmod +x $install_dir/owncloud +chmod +x $install_dir/ocis #================================================= # RESTORE THE DATA DIRECTORY diff --git a/scripts/upgrade b/scripts/upgrade index fd8edb1..159df72 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -39,7 +39,7 @@ fi chmod 750 "$install_dir" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" -chmod +x $install_dir/owncloud +chmod +x $install_dir/ocis #================================================= # PHP-FPM CONFIGURATION