Skip to content

Commit

Permalink
Merge pull request #749 from wavesplatform/minor-fixes
Browse files Browse the repository at this point in the history
Fixed upstart/systemd configuration for testnet
  • Loading branch information
alexeykiselev authored Dec 15, 2017
2 parents a4b5e51 + 9ba3f0b commit 28b7cb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/package/systemd.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Type=simple
EnvironmentFile=${{env_config}}
ExecStart=/usr/share/${{app_name}}/bin/${{exec}} \
-Dwaves.directory=/var/lib/${{app_name}} \
-Dlogback.file.directory=/var/log/waves \
-Dlogback.file.directory=/var/log/${{app_name}} \
-Dlogback.pattern="%%-5level %%logger{26} - %%msg%%n" \
-- /etc/${{app_name}}/waves.conf
Restart=always
Expand Down
2 changes: 1 addition & 1 deletion src/package/upstart.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ chdir /usr/share/${{app_name}}
script
exec sudo -u ${{app_name}} bin/${{app_name}} \
-Dwaves.directory=/var/lib/${{app_name}} \
-Dlogback.file.directory=/var/log/waves \
-Dlogback.file.directory=/var/log/${{app_name}} \
-Dlogback.pattern='%date{yyyy-MM-dd HH:mm:ss} %-5level %logger{26} - %msg%n' \
-- /etc/${{app_name}}/waves.conf
end script

0 comments on commit 28b7cb0

Please sign in to comment.