itamae/cookbooks/nomad/files
Kazuhiro MUSASHI de06f5575c Add `logrotated` config for `nomad` log files.
```
--- /dev/null
+++ b/cookbooks/nomad/files/etc/logrotate.d/nomad
@@ -0,0 +1,13 @@
+/var/log/nomad.log
+{
+        rotate 4
+        weekly
+        missingok
+        notifempty
+        compress
+        delaycompress
+        sharedscripts
+        postrotate
+                /usr/lib/rsyslog/rsyslog-rotate
+        endscript
+}
```
2022-01-10 15:29:00 +09:00
..
etc Add `logrotated` config for `nomad` log files. 2022-01-10 15:29:00 +09:00
lib/systemd/system Add `systemd` config for `Promtail` monitoring `nomad`. 2022-01-10 15:29:00 +09:00