boot-sms/systemd-templates/boot-sms.service

12 lines
243 B
SYSTEMD
Raw Permalink Normal View History

2022-08-19 13:50:18 +02:00
[Unit]
Description=Send an SMS at system boot
After=network.target
[Service]
Type=oneshot
ExecStartPre=/usr/bin/bash PH_DIRECTORY/wait-reaching.sh smsapi.free-mobile.fr
ExecStart=PH_DIRECTORY/boot-sms.sh
[Install]
WantedBy=multi-user.target