diff --git a/conf/systemd.service b/conf/systemd.service index 5877920..df415ad 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -4,8 +4,8 @@ After=network.target multi-user.target [Service] Type=simple -User=__ADMIN__ -Group=__ADMIN__ +User=__APP__ +Group=__APP__ WorkingDirectory=__DATA_DIR__ EnvironmentFile=__INSTALL_DIR__/code-server.env ExecStart=__INSTALL_DIR__/bin/code-server --config __INSTALL_DIR__/config.yaml diff --git a/doc/ADMIN.md b/doc/ADMIN.md index 1449f2c..4b6c406 100644 --- a/doc/ADMIN.md +++ b/doc/ADMIN.md @@ -4,10 +4,7 @@ ### Limitations -* Requires a dedicated domain -* `code-server` run as the user you choose during the install * `code-server` files are stored inside `/home//.local/share/code-server` -* Subdomains for services on ports (like 8080.code-server-domain.tld) are not supported ### Extensions diff --git a/doc/ADMIN_fr.md b/doc/ADMIN_fr.md index 4de9101..bc8b2b8 100644 --- a/doc/ADMIN_fr.md +++ b/doc/ADMIN_fr.md @@ -4,10 +4,7 @@ ### Limitations -* Nécessite un domaine dédié -* `code-server` s'éxécute avec l'utilisateur choisir lors de l'installation * Les fichiers de `code-server` sont stockés dans `/home//.local/share/code-server` -* Les sous-domaines pour les services sur les ports (like 8080.code-server-domain.tld) ne sont pas pris en charge ### Extensions diff --git a/manifest.toml b/manifest.toml index b74599b..283f6d1 100644 --- a/manifest.toml +++ b/manifest.toml @@ -31,9 +31,6 @@ ram.runtime = "50M" type = "domain" full_domain = true - [install.admin] - type = "user" - [resources] [resources.sources.main] arm64.url = "https://github.com/coder/code-server/releases/download/v4.12.0/code-server-4.12.0-linux-arm64.tar.gz" @@ -59,4 +56,3 @@ ram.runtime = "50M" [resources.permissions] main.url = "/" - main.allowed = "admins"