Fix running apache tomcat as a daemon

This commit is contained in:
Sander van der Burg 2016-01-12 14:32:22 +00:00
parent 4a9ad20a95
commit b1d6e6a38b

View File

@ -131,7 +131,8 @@ in
description = "Apache Tomcat server";
wantedBy = [ "multi-user.target" ];
after = [ "network-interfaces.target" ];
serviceConfig.Type = "daemon";
serviceConfig.Type = "oneshot";
serviceConfig.RemainAfterExit = true;
preStart = ''
# Create the base directory