diff options
| -rw-r--r-- | README.rst | 15 | ||||
| -rw-r--r-- | scripts/systemd/auerswald-callnotifier.service | 14 |
2 files changed, 28 insertions, 1 deletions
@@ -32,6 +32,19 @@ Dependencies - curl for the dreambox notifier +Systemd service +=============== + +1. Copy ``scripts/systemd/auerswald-callnotifier.service`` to ``/etc/systemd/system/`` +2. Adjust user and group name and callnotifier path +3. Enable the service:: + + $ systemctl daemon-reload + $ systemctl enable auerswald-callnotifier + $ systemctl start auerswald-callnotifier + $ systemctl status auerswald-callnotifier + + ============= Configuration ============= @@ -186,6 +199,6 @@ Auerswald callnotifier is licensed under the terms of the GPLv3 or later. ====== Source ====== -Original git website: http://git.cweiske.de/?p=auerswald-callnotifier.git +Original git website: https://git.cweiske.de/auerswald-callnotifier.git Mirror: https://github.com/cweiske/auerswald-callnotifier diff --git a/scripts/systemd/auerswald-callnotifier.service b/scripts/systemd/auerswald-callnotifier.service new file mode 100644 index 0000000..e2c8beb --- /dev/null +++ b/scripts/systemd/auerswald-callnotifier.service @@ -0,0 +1,14 @@ +[Unit] +Description=Auerswald Callnotifier +After=mysql.target network.target + +[Service] +Type=simple +User=www-data +Group=www-data +ExecStart=/usr/local/src/auerswald-callnotifier/callnotifier.php +Restart=always +RestartSec=5 + +[Install] +WantedBy=multi-user.target |
