Make the hook systemd compatible
This commit is contained in:
parent
d117f2543e
commit
b43185abb4
6 changed files with 49 additions and 16 deletions
11
welcomemessage.service
Normal file
11
welcomemessage.service
Normal file
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=Print welcome message
|
||||
DefaultDependencies=no
|
||||
ConditionPathExists=/welcomemessage
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=cat /welcomemessage
|
||||
|
||||
[Install]
|
||||
WantedBy=sysinit.target
|
Reference in a new issue