subscribe-list/subscribe-list.service

14 lines
347 B
Desktop File

[Unit]
Description=web server for managing subscriptions
Requires=subscribe-list.socket
[Service]
Environment=RUST_LOG=info
Type=exec
ExecStartPre=test -f /var/lib/subscribe-list/list.db
ExecStart=/usr/bin/subscribe-list --config /etc/subscribe-list/config.toml serve --listen-fd
User=www-data
Group=www-data
[Install]
Also=subscribe-list.socket