Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tomcat8
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Java Maintainers
tomcat8
Commits
0a7e74a6
Commit
0a7e74a6
authored
8 years ago
by
Emmanuel Bourg
Browse files
Options
Downloads
Patches
Plain Diff
Changed the home directory for the tomcat8 user to /var/lib/tomcat8 (Closes: #833261)
parent
740422a8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
debian/changelog
+2
-0
2 additions, 0 deletions
debian/changelog
debian/tomcat8.init
+3
-0
3 additions, 0 deletions
debian/tomcat8.init
debian/tomcat8.postinst
+1
-1
1 addition, 1 deletion
debian/tomcat8.postinst
with
6 additions
and
1 deletion
debian/changelog
+
2
−
0
View file @
0a7e74a6
...
...
@@ -7,6 +7,8 @@ tomcat8 (8.5.8-2) UNRELEASED; urgency=medium
(Closes: #845661)
* Added the delaycompress option to the logrotate configuration
of catalina.out (Closes: #843135)
* Changed the home directory for the tomcat8 user from /usr/share/tomcat8
to /var/lib/tomcat8 (Closes: #833261)
* Set the proper permissions for /etc/tomcat8/jaspic-providers.xml
* Install the new library jaspic-api.jar
* Install the Maven artifacts for tomcat-storeconfig
...
...
This diff is collapsed.
Click to expand it.
debian/tomcat8.init
+
3
−
0
View file @
0a7e74a6
...
...
@@ -194,6 +194,9 @@ case "$1" in
exit
1
fi
# Change the home directory to /var/lib/tomcat8 for older installations (to be removed in tomcat9)
usermod
--home
/var/lib/tomcat8
$TOMCAT8_USER
>
/dev/null 2>&1
||
true
log_daemon_msg
"Starting
$DESC
"
"
$NAME
"
if
start-stop-daemon
--test
--start
--pidfile
"
$CATALINA_PID
"
\
--user
$TOMCAT8_USER
--exec
"
$JAVA_HOME
/bin/java"
\
...
...
This diff is collapsed.
Click to expand it.
debian/tomcat8.postinst
+
1
−
1
View file @
0a7e74a6
...
...
@@ -31,7 +31,7 @@ case "$1" in
addgroup
--system
"
$TOMCAT8_GROUP
"
--quiet
fi
if
!
id
$TOMCAT8_USER
>
/dev/null 2>&1
;
then
adduser
--system
--home
/
usr/share
/tomcat8
--no-create-home
\
adduser
--system
--home
/
var/lib
/tomcat8
--no-create-home
\
--ingroup
"
$TOMCAT8_GROUP
"
--disabled-password
--shell
/bin/false
\
"
$TOMCAT8_USER
"
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment