Skip to content

Commit

Permalink
Merge pull request #14 from latchbio/kenny/sysbox-logs
Browse files Browse the repository at this point in the history
log `sysbox-fs`
  • Loading branch information
kennyworkman authored Jun 13, 2024
2 parents 62f44ff + 16877e0 commit d9131c4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@

/scratch
/crio

.*sw*
3 changes: 2 additions & 1 deletion sysbox-eks.pkr.hcl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
variable "ubuntu_version" {
type = string

default = "focal-20.04"

validation {
Expand Down Expand Up @@ -148,6 +148,7 @@ build {
"sudo mv /home/ubuntu/systemd/system/sysbox-mgr.service /lib/systemd/system/sysbox-mgr.service",
"sudo mv /home/ubuntu/systemd/system/sysbox-fs.service /lib/systemd/system/sysbox-fs.service",
"sudo mv /home/ubuntu/systemd/system/sysbox.service /lib/systemd/system/sysbox.service",
"sudo mkdir /var/log/sysbox"
]
}

Expand Down
2 changes: 1 addition & 1 deletion systemd/system/sysbox-fs.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ After=sysbox-mgr.service
[Service]
Type=simple
Type=notify
ExecStart=/usr/bin/sysbox-fs
ExecStart=/bin/sh -c "/usr/bin/sysbox-fs --log /dev/null"
Restart=always
TimeoutStartSec=10
TimeoutStopSec=10
Expand Down

0 comments on commit d9131c4

Please sign in to comment.