Fix systemd unit.

This commit is contained in:
Alexandr Bogomyakov
2020-07-21 19:05:51 +03:00
parent b570e1b063
commit 34708c26ed
3 changed files with 6 additions and 3 deletions

2
Cargo.lock generated
View File

@ -241,7 +241,7 @@ checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7"
[[package]]
name = "furumi"
version = "1.0.0"
version = "1.0.2"
dependencies = [
"anyhow",
"base64",

View File

@ -1,6 +1,6 @@
[package]
name = "furumi"
version = "1.0.2"
version = "1.0.3"
authors = ["AB <ultradesu@hexor.ru>"]
edition = "2018"
license = "WTFPL"

View File

@ -1,5 +1,7 @@
[Unit]
Description=Mount furumi HTTP FS
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
@ -7,7 +9,8 @@ User=furumi
RestartSec=5
Restart=always
ExecStart=/usr/bin/furumi --conf /etc/furumi.yml
KillSignal=SIGINT
KillSignal=SIGTERM
KillMode=mixed
[Install]
WantedBy=default.target