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]] [[package]]
name = "furumi" name = "furumi"
version = "1.0.0" version = "1.0.2"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"base64", "base64",

View File

@ -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"

View File

@ -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