/lib/systemd/system/disque.service is in disque 1.0~rc1-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | [Unit]
Description=In-memory, distributed message broker
After=network.target
[Service]
Type=forking
ExecStart=/usr/bin/disque-server /etc/disque/disque.conf
PIDFile=/var/run/disque/disque.pid
TimeoutStopSec=0
Restart=always
User=disque
Group=disque
ExecStop=/bin/kill -TERM $MAINPID
PrivateTmp=yes
PrivateDevices=yes
ProtectHome=yes
ProtectSystem=full
ReadOnlyDirectories=/
ReadWriteDirectories=-/var/lib/disque
ReadWriteDirectories=-/var/log/disque
ReadWriteDirectories=-/var/run/disque
[Install]
WantedBy=multi-user.target
|