Switch non-primary service files to sysconfig
This commit is contained in:
parent
9d76b53468
commit
3bf9b4c925
@ -12,7 +12,7 @@ After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
EnvironmentFile=/etc/tomcat/tomcat.conf
|
||||
EnvironmentFile=/etc/sysconfig/tomcat
|
||||
Environment="NAME=" "USE_JSVC=true"
|
||||
ExecStart=/usr/libexec/tomcat/server start
|
||||
ExecStop=/usr/libexec/tomcat/server stop
|
||||
|
@ -12,7 +12,7 @@ After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
EnvironmentFile=/etc/tomcat/tomcat.conf
|
||||
EnvironmentFile=/etc/sysconfig/tomcat
|
||||
Environment="NAME=%I"
|
||||
EnvironmentFile=-/etc/sysconfig/tomcat@%I
|
||||
ExecStart=/usr/libexec/tomcat/server start
|
||||
|
Loading…
Reference in New Issue
Block a user