Tweaked Platypush systemd service.

- A more informative Description
- `s/WantedBy=default.target/WantedBy=multi-user.target/`
- `redis.service` is a strong requirement
This commit is contained in:
Fabio Manganiello 2024-05-20 13:01:32 +02:00
parent c899627eca
commit 02a3385638
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -1,22 +1,12 @@
# platypush systemd service example.
# Edit and copy this file to your systemd folder. It's usually
# /usr/lib/systemd/user for global installation or
# ~/.config/systemd/user for user installation. You can
# then control and monitor the service through
# systemd [--user] [start|stop|restart|status] platypush.service
[Unit] [Unit]
Description=Platypush daemon Description=Platypush - A general-purpose platform for automation
After=network.target redis.service After=network.target redis.service
Requires=redis.service
[Service] [Service]
# platypush installation path
ExecStart=/usr/bin/platypush ExecStart=/usr/bin/platypush
Restart=always Restart=always
# How long should be waited before restarting the service
# in case of failure.
RestartSec=10 RestartSec=10
[Install] [Install]
WantedBy=default.target WantedBy=multi-user.target