hello world
This commit is contained in:
11
files/hello_world.service
Normal file
11
files/hello_world.service
Normal file
@@ -0,0 +1,11 @@
|
||||
# ld-install service
|
||||
[Unit]
|
||||
Description=logoDIDACT 4.0 Installer
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/root/hello_world.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
4
files/hello_world.sh
Normal file
4
files/hello_world.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo 'hello world'
|
||||
touch /root/it_worked
|
||||
Reference in New Issue
Block a user