diff options
Diffstat (limited to 'simple-http-server-git/simple-http-server-git.install')
| -rw-r--r-- | simple-http-server-git/simple-http-server-git.install | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/simple-http-server-git/simple-http-server-git.install b/simple-http-server-git/simple-http-server-git.install new file mode 100644 index 0000000..57a17e7 --- /dev/null +++ b/simple-http-server-git/simple-http-server-git.install | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | # arg 1: the new package version | ||
| 2 | post_install() { | ||
| 3 | echo 'Paths must be escaped when starting Systemd service' | ||
| 4 | echo 'example: systemctl start simple-http-server@$(systemd-escape -p /path/to/directory)' | ||
| 5 | } | ||
