Skip to content

Commit

Permalink
Fixed service unit file, enabled logging in properties file
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaskir committed Jun 13, 2019
1 parent 58c3e16 commit 3e06232
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions config-files/radman.properties.example
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ ldap.base-dn=[base-search-dn-here]
ldap.user-dn-pattern=uid={0}

# logging
logging.file=/var/log/radman
logging.level.root=WARN
logging.level.org.springframework.boot=INFO
logging.level.software.netcore.radman=INFO
Expand Down
3 changes: 0 additions & 3 deletions config-files/radman.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@ After=network.target
[Service]
Type=simple
WorkingDirectory=/opt/radman
ExecStart=bash -c 'java $(cat /etc/default/radman 2> /dev/null)
ExecStart=/bin/bash -c '/usr/bin/java $(/bin/cat /etc/default/radman 2> /dev/null) -Dspring.config.location=file:/etc/radman/radman.properties -jar /opt/radman/RadMan.jar'
SuccessExitStatus=143
StandardOutput=file:/var/log/radman
StandardError=file:/var/log/radman

[Install]
WantedBy=multi-user.target

0 comments on commit 3e06232

Please sign in to comment.