changed systemd file, added install script
This commit is contained in:
parent
0cd6191158
commit
7a29d6c383
2 changed files with 10 additions and 0 deletions
7
install.sh
Normal file
7
install.sh
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
cp ./vm-{seal,firstrun}.sh /usr/local/sbin/
|
||||
cp ./vm-firstrun.example-config /etc/sysconfig/vm-firstrun
|
||||
cp ./vm-firstrun.service /etc/systemd/system/vm-firstrun.service
|
||||
chmod +x /usr/local/sbin/vm-{seal,firstrun}.sh
|
||||
systemctl daemon-reload
|
||||
|
|
@ -9,3 +9,6 @@ ExecStart=/usr/local/sbin/vm-firstrun.sh
|
|||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
[Unit]
|
||||
Wants=network-online.target
|
||||
After=network.target network-online.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue