Pull request: all: imp install script logs, systemd unit file
Updates #3579. Squashed commit of the following: commit 9a25fe15c999b351639d4baaa556c0b6e52c3102 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Wed Sep 22 18:09:25 2021 +0300 all: imp install script logs, systemd unit file
This commit is contained in:
parent
e1e064db59
commit
5aed8db5cf
|
@ -395,7 +395,7 @@ ConditionFileIsExecutable={{.Path|cmdEscape}}
|
||||||
[Service]
|
[Service]
|
||||||
StartLimitInterval=5
|
StartLimitInterval=5
|
||||||
StartLimitBurst=10
|
StartLimitBurst=10
|
||||||
ExecStartPre=mkdir -p /var/log/
|
ExecStartPre=/bin/mkdir -p /var/log/
|
||||||
ExecStart={{.Path|cmdEscape}}{{range .Arguments}} {{.|cmd}}{{end}}
|
ExecStart={{.Path|cmdEscape}}{{range .Arguments}} {{.|cmd}}{{end}}
|
||||||
{{if .ChRoot}}RootDirectory={{.ChRoot|cmd}}{{end}}
|
{{if .ChRoot}}RootDirectory={{.ChRoot|cmd}}{{end}}
|
||||||
{{if .WorkingDirectory}}WorkingDirectory={{.WorkingDirectory|cmdEscape}}{{end}}
|
{{if .WorkingDirectory}}WorkingDirectory={{.WorkingDirectory|cmdEscape}}{{end}}
|
||||||
|
|
|
@ -451,7 +451,7 @@ unpack() {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
log "successfully unpacked, contents: $( echo; ls -l -A "$out_dir" )"
|
log "successfully unpacked, contents: $( echo; ls -l -A "$agh_dir" )"
|
||||||
|
|
||||||
rm "$pkg_name"
|
rm "$pkg_name"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue