write-ups-challenges-2019-2020/very-old-website/init.sh

6 lines
155 B
Bash
Raw Normal View History

2022-11-24 21:43:03 +00:00
#!/bin/bash
mkdir -p /var/log/apache2/
ln -sf /proc/$$/fd/1 /var/log/apache2/access.log
ln -sf /proc/$$/fd/2 /var/log/apache2/error.log
apache2-foreground