17 lines
371 B
Desktop File
17 lines
371 B
Desktop File
[Unit]
|
|
Description=Restore authorized Coulobre SFTP filesystem mounts
|
|
RequiresMountsFor=/srv/coulobre /var/lib/coulobre/web-node
|
|
After=local-fs.target
|
|
Before=ssh.service sshd.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User=root
|
|
ExecStart=/opt/coulobre/bin/coulobre-folder-sftp restore-mounts
|
|
UMask=0077
|
|
RemainAfterExit=yes
|
|
NoNewPrivileges=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|