Make the hook systemd compatible

This commit is contained in:
Marko Korhonen 2020-04-27 09:49:01 +03:00
parent d117f2543e
commit b43185abb4
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
6 changed files with 49 additions and 16 deletions

11
welcomemessage.service Normal file
View file

@ -0,0 +1,11 @@
[Unit]
Description=Print welcome message
DefaultDependencies=no
ConditionPathExists=/welcomemessage
[Service]
Type=oneshot
ExecStart=cat /welcomemessage
[Install]
WantedBy=sysinit.target