15 lines
358 B
SYSTEMD
15 lines
358 B
SYSTEMD
|
[Unit]
|
||
|
Description=SSHFS Daemon to mount a remote directory
|
||
|
StartLimitInterval=200
|
||
|
StartLimitBurst=8
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
ExecStart=/usr/bin/sshfs -f {{ service_params.ssh_uri }} {{ service_params.mount_path }} -o reconnect,ServerAliveInterval=30,ServerAliveCountMax=5
|
||
|
Restart=always
|
||
|
StandardOutput=journal
|
||
|
RestartSec=20
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=default.target
|