Add timeout to systemd unit

This commit is contained in:
fnux 2020-01-24 12:46:42 +01:00
parent 71379ef7df
commit 063fa5f2af

View file

@ -7,6 +7,7 @@ Before=network.target
Type=oneshot Type=oneshot
RemainAfterExit=yes RemainAfterExit=yes
ExecStart=/usr/local/bin/uncloud-init ExecStart=/usr/local/bin/uncloud-init
TimeoutSec=30s
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target