|
Dates: 4/3/2019 |
|
|
|
In directory /home/hostadm, create another shell script file, stop.sh:
Make the script executable
In directory /lib/systemd/system, modify the unit service file, test.service by adding two lines in the [Service] block:
Reload systemd:
Run commands
|