adjust tmpfiles.d

This commit is contained in:
AJ ONeal 2017-11-07 15:54:59 -07:00
parent 62b4c79236
commit 0611645ef0
3 changed files with 3 additions and 8 deletions

View File

@ -51,7 +51,7 @@ npm install -g goldilocks@v1
### Uninstall ### Uninstall
``` ```
rm -rf /srv/goldilocks/ /var/goldilocks/ /etc/goldilocks/ /opt/goldilocks/ /var/log/goldilocks/ /etc/tmpfiles.d/goldilocks.service /etc/systemd/system/goldilocks.service rm -rf /srv/goldilocks/ /var/goldilocks/ /etc/goldilocks/ /opt/goldilocks/ /var/log/goldilocks/ /etc/tmpfiles.d/goldilocks.service /etc/systemd/system/goldilocks.service /etc/ssl/goldilocks
``` ```
Usage Usage

View File

@ -2,9 +2,4 @@
# See https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html # See https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html
# Type Path Mode UID GID Age Argument # Type Path Mode UID GID Age Argument
#d /etc/goldilocks 0755 MY_USER MY_GROUP - -
#d /opt/goldilocks 0775 MY_USER MY_GROUP - -
#d /srv/www 0775 MY_USER MY_GROUP - -
#d /etc/ssl/goldilocks 0750 MY_USER MY_GROUP - -
#d /var/log/goldilocks 0750 MY_USER MY_GROUP - -
d /run/goldilocks 0755 MY_USER MY_GROUP - - d /run/goldilocks 0755 MY_USER MY_GROUP - -

View File

@ -149,4 +149,4 @@ echo "Restart: systemctl restart $my_name"
echo "Logs: journalctl -xefu $my_name" echo "Logs: journalctl -xefu $my_name"
echo "Config: /etc/$my_name/$my_name.yml" echo "Config: /etc/$my_name/$my_name.yml"
echo "" echo ""
echo "Unistall: rm -rf /srv/$my_name/ /var/$my_name/ /etc/$my_name/ /opt/$my_name/ /var/log/$my_name/ /etc/tmpfiles.d/$my_name.service /etc/systemd/system/$my_name.service" echo "Unistall: rm -rf /srv/$my_name/ /var/$my_name/ /etc/$my_name/ /opt/$my_name/ /var/log/$my_name/ /etc/tmpfiles.d/$my_name.service /etc/systemd/system/$my_name.service /etc/ssl/$my_name"