Skip to content

Commit

Permalink
cleanup unneeded log folders
Browse files Browse the repository at this point in the history
  • Loading branch information
cremesk committed Nov 13, 2024
1 parent 73fd449 commit 5d8be8d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 23 deletions.
12 changes: 9 additions & 3 deletions salt/freifunk/base/clear_old_env.sls
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,19 @@ remove_old_pkg:
/opt/vnstat-dashboard:
file.absent

/var/www_vnstat:
file.absent


/var/log/freifunk/register:
file.absent

/var/log/freifunk/registrator:
file.absent

/var/statistic:
file.absent

/var/www_freifunk/robots.txt:
file.absent:
- onlyif: grep -q '# Alle Robots' /var/www_freifunk/robots.txt

/var/www_vnstat:
file.absent
20 changes: 0 additions & 20 deletions salt/freifunk/base/ddmesh/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -133,26 +133,6 @@
- require:
- pkg: rsyslog
/var/log/freifunk/registrator:
file.directory:
- user: www-data
- group: www-data
- file_mode: 755
- dir_mode: 755
- require:
- pkg: rsyslog
- pkg: apache2
/var/log/freifunk/register:
file.directory:
- user: www-data
- group: www-data
- file_mode: 755
- dir_mode: 755
- require:
- pkg: rsyslog
- pkg: apache2
/var/log/freifunk/router:
file.directory:
- user: syslog
Expand Down

0 comments on commit 5d8be8d

Please sign in to comment.