Here is a systemd service sample \o/
rs-short.service
[Unit] Description=rs-short Documentation=https://git.42l.fr/42l/rs-short After=network.target [Service] Type=simple User=root # Maybe better with dedicated user WorkingDirectory=/var/www/rs-short ExecStart=/var/www/rs-short/target/release/rs-short Restart=on-failure [Install] WantedBy=multi-user.target
First compile rs-short: cargo run --release
cargo run --release
(Considered as root logged user, with soure code in /var/www/rs-short)
cp rs-short.service /etc/systemd/sytem/rs-short.service systemctl daemon-reload systemctl enable --now rs-short.service
Hi,
Page created --> https://git.42l.fr/42l/rs-short/wiki/Integration-with-nginx-%2F-systemd
I’m sorry it took so long.
Thanks for your contribution!
No due date set.
This issue currently doesn't have any dependencies.
Deleting a branch is permanent. It CANNOT be undone. Continue?
Here is a systemd service sample \o/
rs-short.service
Usage
First compile rs-short:
cargo run --release
(Considered as root logged user, with soure code in /var/www/rs-short)
Hi,
Page created --> https://git.42l.fr/42l/rs-short/wiki/Integration-with-nginx-%2F-systemd
I’m sorry it took so long.
Thanks for your contribution!