Add Rocket config parameters to service file
That way also the listening address, port, etc. can be configured.
This commit is contained in:
parent
3dae942b7e
commit
0724da9ff5
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,8 @@ 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
|
||||
|
|
Loading…
Reference in a new issue