spb/drive Public
SPB Drive — self-hosted personal cloud drive (files, previews, sharing) on the MacLustr cluster.
JavaScript 82.7%
CSS 10.6%
Nunjucks 3.6%
Shell 1.8%
SQL 1.3%
1# ─────────────────────────────────────────────2# SPB Drive — Personal Cloud Drive3# ─────────────────────────────────────────────4# Author : Simon-Pierre Boucher5# Contact : contact@spboucher.ai6# File : deploy/spbdrive.service7# Purpose : systemd unit (Linux alternative to pm2)8# License : MIT © Simon-Pierre Boucher9# ─────────────────────────────────────────────10# Install: cp deploy/spbdrive.service /etc/systemd/system/ && systemctl enable --now spbdrive1112[Unit]13Description=SPB Drive — personal cloud of Simon-Pierre Boucher14After=network-online.target15Wants=network-online.target1617[Service]18Type=simple19User=simon-pierreboucher20WorkingDirectory=/srv/drive/app21Environment=NODE_ENV=production22Environment=SPBDRIVE_DATA_DIR=/srv/drive23Environment=SPBDRIVE_PORT=743024Environment=SPBDRIVE_PUBLIC_URL=https://drive.spboucher.ai25ExecStart=/usr/bin/env node src/server.mjs26Restart=always27RestartSec=328NoNewPrivileges=true29PrivateTmp=true30ProtectSystem=strict31ReadWritePaths=/srv/drive3233[Install]34WantedBy=multi-user.target35