mirror of
https://github.com/house-of-vanity/furumi.git
synced 2025-07-07 05:34:07 +00:00
Fix systemd unit.
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -241,7 +241,7 @@ checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "furumi"
|
name = "furumi"
|
||||||
version = "1.0.0"
|
version = "1.0.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"base64",
|
"base64",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "furumi"
|
name = "furumi"
|
||||||
version = "1.0.2"
|
version = "1.0.3"
|
||||||
authors = ["AB <ultradesu@hexor.ru>"]
|
authors = ["AB <ultradesu@hexor.ru>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "WTFPL"
|
license = "WTFPL"
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Mount furumi HTTP FS
|
Description=Mount furumi HTTP FS
|
||||||
|
After=network-online.target
|
||||||
|
Wants=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
@ -7,7 +9,8 @@ User=furumi
|
|||||||
RestartSec=5
|
RestartSec=5
|
||||||
Restart=always
|
Restart=always
|
||||||
ExecStart=/usr/bin/furumi --conf /etc/furumi.yml
|
ExecStart=/usr/bin/furumi --conf /etc/furumi.yml
|
||||||
KillSignal=SIGINT
|
KillSignal=SIGTERM
|
||||||
|
KillMode=mixed
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
Reference in New Issue
Block a user