Fix running apache tomcat as a daemon
This commit is contained in:
parent
4a9ad20a95
commit
b1d6e6a38b
@ -131,7 +131,8 @@ in
|
|||||||
description = "Apache Tomcat server";
|
description = "Apache Tomcat server";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
after = [ "network-interfaces.target" ];
|
after = [ "network-interfaces.target" ];
|
||||||
serviceConfig.Type = "daemon";
|
serviceConfig.Type = "oneshot";
|
||||||
|
serviceConfig.RemainAfterExit = true;
|
||||||
|
|
||||||
preStart = ''
|
preStart = ''
|
||||||
# Create the base directory
|
# Create the base directory
|
||||||
|
Loading…
x
Reference in New Issue
Block a user