You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/sphinx/archetypes.rst
+5-2
Original file line number
Diff line number
Diff line change
@@ -108,15 +108,18 @@ For Debian servers, you can select to either use SystemV or Upstart for your ser
108
108
109
109
serverLoading in Debian := ServerLoader.SystemV
110
110
111
-
By default, the native packager will install and run services using the ``root`` user and group. This is not a good default for services, which should not be exposed to root access. You can change the installation and usage user via the ``daemonUser`` key:
111
+
By default, the native packager will install and run services using a user and group based on your package name. You can change the installation and usage user via the ``appUser`` and ``appGroup`` key:
112
112
113
113
.. code-block:: scala
114
114
115
-
daemonUser in Debian := "my_app_user"
115
+
appUser in Linux := "my_app_user"
116
+
117
+
appGroup in Linux := "my_app_group"
116
118
117
119
The archetype will automatically append/prepend the creation/deletion of the user
118
120
to your packaging for Debian. *Note:* All specified users are **deleted** on an ``apt-get purge <dpkg>``.
119
121
122
+
*Note:* It is not a good idea to use **root** as the ``appUser`` for services as it represents a security risk.
0 commit comments