🐶
Pupcloud
Pupcloud v0.8
Pupcloud v0.8
  • 🐶Pupcloud
    • 🥇Features
    • 🎬Credits
    • 🐛Known Issues
  • 🦮Guides
    • 🏗️Installation & Building
    • 🏃Running Pupcloud
      • 🐳Docker
      • 💻Systemd Service
      • 💿Synology NAS
    • 🎒Basic Usage
    • 🗝️Authentication
    • 🤝Sharing a Folder
    • 🔙Reverse Proxy
  • 🛡️Security
  • 🍟Demo App
  • 👷GitHub Repository
Powered by GitBook
On this page
  1. Guides
  2. Running Pupcloud

Systemd Service

Here follows an example file to configure pupcloud as a systemd service. I saved it into /etc/systemd/system/pupcloud.service.

[Unit]
Description=Pupcloud

[Service]
Type=simple
User=myUser
Group=myUser
ExecStart=/home/myUser/local/pupcloud -r /mnt/myRootDir

[Install]
WantedBy=multi-user.target

Then you can systemctl start pupcloud, systemctl status pupcloud, systemctl enable pupcloud as normal.

Always run as non-root (as setup by lines 7-8 of the script). Pupcloud needs to be explicitly authorized to run as root, and it's seldom a good idea.

PreviousDockerNextBasic Usage

Last updated 3 years ago

🦮
🏃
💻