Skip to content

Commit

Permalink
chore: add make argument to fix WorkingDirectory (mainsail-crew#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
mryel00 authored Nov 13, 2023
1 parent 5a67110 commit cdb94da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ report: ## Generate report.txt
@if [ -f ~/report.txt ]; then rm -f ~/report.txt; fi
@bash -c 'tools/dev-helper.sh -a >> ~/report.txt'
@sed -ri 's/\x1B\[([0-9]{1,3}(;[0-9]{1,2})?)?[mGK]//g' ~/report.txt

fixworkingdirectory: ## Fix service file WorkingDirectory path
@sudo sed -i "s~\(WorkingDirectory=\).*~\1$$PWD~" /etc/systemd/system/crowsnest.service

0 comments on commit cdb94da

Please sign in to comment.