Skip to content

Commit

Permalink
Merge pull request #2162 from arnaldo2792/restart-services
Browse files Browse the repository at this point in the history
Restart long-running systemd services
  • Loading branch information
arnaldo2792 authored Jun 3, 2022
2 parents 2fb66bd + 9ee56b5 commit d2fff55
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/acpid/acpid.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Description=ACPI event daemon
[Service]
Type=forking
ExecStart=/usr/sbin/acpid -c /usr/lib/acpid/events
Restart=always
RestartSec=5

[Install]
WantedBy=preconfigured.target
2 changes: 2 additions & 0 deletions packages/open-vm-tools/vmtoolsd.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ ConditionVirtualization=vmware

[Service]
ExecStart=/usr/bin/vmtoolsd
Restart=always
RestartSec=5

[Install]
WantedBy=multi-user.target
2 changes: 2 additions & 0 deletions packages/os/apiserver.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Requires=storewolf.service migrator.service
[Service]
Type=notify
ExecStart=/usr/bin/apiserver --datastore-path /var/lib/bottlerocket/datastore/current --socket-gid 274
Restart=always
RestartSec=5
StandardError=journal+console

[Install]
Expand Down

0 comments on commit d2fff55

Please sign in to comment.