diff --git a/sleepywaves.example.service b/sleepywaves.example.service new file mode 100644 index 0000000..d9d91a6 --- /dev/null +++ b/sleepywaves.example.service @@ -0,0 +1,13 @@ +[Unit] +Description=Sleepywaves +After=network.target + +[Service] +Type=simple +Restart=always +RestartSec=1 +User=dietpi +ExecStart=/home/dietpi/.cache/pypoetry/virtualenvs/sleepywaves-py3.9/bin/python /home/dietpi/sleepywaves/src/sleepywaves.py -m /mnt/usbstick + +[Install] +WantedBy=multi-user.target