Skip to content

Commit

Permalink
Fix run commands
Browse files Browse the repository at this point in the history
Signed-off-by: R.I.Pienaar <[email protected]>
  • Loading branch information
ripienaar committed Nov 8, 2024
1 parent 3c0ec3b commit bc12bd0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packager/templates/el/el8/tally.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ StandardOutput=syslog
StandardError=syslog
User=root
Group=root
ExecStart={{cpkg_bindir}}/{{cpkg_name}} run --config={{cpkg_etcdir}}/config.json
ExecStart={{cpkg_bindir}}/{{cpkg_name}} --component '*' --port 8080 --prefix choria_tally --config={{cpkg_etcdir}}/choria.conf

[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target
2 changes: 1 addition & 1 deletion packager/templates/el/el8/tally.spec
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ rm -rf %{buildroot}
%{__install} -m0644 dist/sysconfig %{buildroot}/etc/sysconfig/%{pkgname}
%{__install} -m0644 dist/%{pkgname}-logrotate %{buildroot}/etc/logrotate.d/%{pkgname}
%{__install} -m0755 %{binary} %{buildroot}%{bindir}/%{pkgname}
%{__install} -m0755 dist/config.json %{buildroot}%{etcdir}/config.json
%{__install} -m0755 dist/choria.conf %{buildroot}%{etcdir}/choria.conf

touch %{buildroot}/var/log/%{pkgname}/%{pkgname}.log

Expand Down
4 changes: 2 additions & 2 deletions packager/templates/el/el9/tally.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ StandardOutput=syslog
StandardError=syslog
User=root
Group=root
ExecStart={{cpkg_bindir}}/{{cpkg_name}} run --config={{cpkg_etcdir}}/config.json
ExecStart={{cpkg_bindir}}/{{cpkg_name}} --component '*' --port 8080 --prefix choria_tally --config={{cpkg_etcdir}}/choria.conf

[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target

0 comments on commit bc12bd0

Please sign in to comment.