Skip to content

Commit 58f8a74

Browse files
hohPsycojoker
authored andcommitted
Fix: Supervisor was restarted when Kubo crashed
Wants= Configures (weak) requirement dependencies on other units. Requires= Similar to Wants=, but declares a stronger requirement dependency. If this unit gets activated, the units listed will be activated as well. If one of the other units fails to activate, and an ordering dependency After= on the failing unit is set, this unit will not be started. Besides, with or without specifying After=, this unit will be stopped (or restarted) if one of the other units is explicitly stopped (or restarted). Documentation: https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html
1 parent a34b37d commit 58f8a74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packaging/aleph-vm/etc/systemd/system/aleph-vm-supervisor.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[Unit]
22
Description=Aleph.im VM execution engine
33
After=network.target ipfs.service
4-
Requires=ipfs.service
4+
Wants=ipfs.service
55

66
[Service]
77
User=0

0 commit comments

Comments
 (0)