Skip to content

Commit cdb94da

Browse files
authored
chore: add make argument to fix WorkingDirectory (mainsail-crew#205)
1 parent 5a67110 commit cdb94da

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,6 @@ report: ## Generate report.txt
4444
@if [ -f ~/report.txt ]; then rm -f ~/report.txt; fi
4545
@bash -c 'tools/dev-helper.sh -a >> ~/report.txt'
4646
@sed -ri 's/\x1B\[([0-9]{1,3}(;[0-9]{1,2})?)?[mGK]//g' ~/report.txt
47+
48+
fixworkingdirectory: ## Fix service file WorkingDirectory path
49+
@sudo sed -i "s~\(WorkingDirectory=\).*~\1$$PWD~" /etc/systemd/system/crowsnest.service

0 commit comments

Comments
 (0)