Skip to content

Commit

Permalink
Merge pull request #476 from amazonlinux/yell
Browse files Browse the repository at this point in the history
Expose first-party errors on console
  • Loading branch information
tjkirch authored Oct 29, 2019
2 parents 39a0660 + c32594e commit 5c3aee6
Show file tree
Hide file tree
Showing 41 changed files with 338 additions and 448 deletions.
1 change: 1 addition & 0 deletions packages/release/prepare-local.service
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ ExecStart=/usr/lib/systemd/systemd-growfs ${LOCAL_DIR}
ExecStart=/usr/bin/mkdir -p ${LOCAL_DIR}/var ${LOCAL_DIR}/opt

RemainAfterExit=false
StandardError=journal+console

[Install]
WantedBy=local-fs.target
3 changes: 2 additions & 1 deletion packages/workspaces/apiserver.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ Requires=storewolf.service migrator.service

[Service]
Type=notify
ExecStart=/usr/bin/apiserver --datastore-path /var/lib/thar/datastore/current --socket-gid 274 -v -v -v
ExecStart=/usr/bin/apiserver --datastore-path /var/lib/thar/datastore/current --socket-gid 274
StandardError=journal+console

[Install]
WantedBy=multi-user.target
3 changes: 2 additions & 1 deletion packages/workspaces/migrator.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ Description=Thar data store migrator

[Service]
Type=oneshot
ExecStart=/usr/bin/migrator --datastore-path /var/lib/thar/datastore/current --migration-directories /var/lib/thar/datastore/migrations --migrate-to-version-from-file /usr/share/thar/data-store-version -v -v
ExecStart=/usr/bin/migrator --datastore-path /var/lib/thar/datastore/current --migration-directories /var/lib/thar/datastore/migrations --migrate-to-version-from-file /usr/share/thar/data-store-version
RemainAfterExit=true
StandardError=journal+console

[Install]
WantedBy=multi-user.target
1 change: 1 addition & 0 deletions packages/workspaces/moondog.service
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ ConditionPathExists=!/var/lib/thar/moondog.ran
Type=oneshot
ExecStart=/usr/bin/moondog
RemainAfterExit=true
StandardError=journal+console

[Install]
WantedBy=multi-user.target
1 change: 1 addition & 0 deletions packages/workspaces/settings-applier.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Wants=settings-committer.service
Type=oneshot
ExecStart=/usr/bin/thar-be-settings --all
RemainAfterExit=true
StandardError=journal+console

[Install]
WantedBy=multi-user.target
1 change: 1 addition & 0 deletions packages/workspaces/settings-committer.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Wants=storewolf.service sundog.service moondog.service
Type=oneshot
ExecStart=/usr/bin/settings-committer
RemainAfterExit=true
StandardError=journal+console

[Install]
WantedBy=multi-user.target
1 change: 1 addition & 0 deletions packages/workspaces/storewolf.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Requires=migrator.service
Type=oneshot
ExecStart=/usr/bin/storewolf --data-store-base-path /var/lib/thar/datastore
RemainAfterExit=true
StandardError=journal+console

[Install]
WantedBy=multi-user.target
1 change: 1 addition & 0 deletions packages/workspaces/sundog.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Requires=network-online.target apiserver.service
Type=oneshot
ExecStart=/usr/bin/sundog
RemainAfterExit=true
StandardError=journal+console

[Install]
WantedBy=multi-user.target
1 change: 1 addition & 0 deletions packages/workspaces/updog.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ Description=What's Updog?
[Service]
Type=oneshot
ExecStart=/usr/bin/updog check-update
StandardError=journal+console
Loading

0 comments on commit 5c3aee6

Please sign in to comment.