Add systemd service unit

This commit is contained in:
fnux 2020-01-23 15:13:33 +01:00
commit 782923c83c
2 changed files with 12 additions and 0 deletions

11
uncloud-init.service Normal file
View file

@ -0,0 +1,11 @@
[Unit]
Description=Initialize an Uncloud virtual machine
After=multi-user.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/local/bin/uncloud-init
[Install]
WantedBy=network.target