16 lines
364 B
Desktop File
16 lines
364 B
Desktop File
[Unit]
|
|
Description=Webhookey
|
|
After=syslog.target
|
|
After=network.target
|
|
|
|
[Service]
|
|
RestartSec=2s
|
|
Type=simple
|
|
User=webhookey
|
|
Group=webhookey
|
|
Restart=always
|
|
Environment=ROCKET_ADDRESS=127.0.0.1 ROCKET_PORT=8000
|
|
# Environment=ROCKET_ADDRESS=127.0.0.1 ROCKET_PORT=8000 ROCKET_TLS={certs="/path/to/certs.pem",key="/path/to/key.pem"}
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|