Download scripts/atom-sync.service from techprotrade/annator-full-system: direct link, hf CLI and curl.
- Browser
- Download file 631 Bytes
-
https://huggingface.co/spaces/techprotrade/annator-full-system/resolve/main/scripts/atom-sync.service
- Command line
-
hf download hf://spaces/techprotrade/annator-full-system/scripts/atom-sync.service
-
curl -L -o atom-sync.service https://huggingface.co/spaces/techprotrade/annator-full-system/resolve/main/scripts/atom-sync.service
631 Bytes
| [Unit] | |
| Description=Atom Repository Periodic Sync Service | |
| After=network.target | |
| Wants=network-online.target | |
| [Service] | |
| Type=simple | |
| User=%i | |
| WorkingDirectory=/home/developer/projects/atom/atom | |
| ExecStart=/home/developer/projects/atom/atom/scripts/periodic-sync.sh --continuous | |
| Restart=always | |
| RestartSec=60 | |
| StandardOutput=journal | |
| StandardError=journal | |
| # Security settings | |
| NoNewPrivileges=true | |
| ProtectSystem=strict | |
| ProtectHome=read-only | |
| PrivateTmp=true | |
| PrivateDevices=true | |
| ProtectKernelTunables=true | |
| ProtectKernelModules=true | |
| ProtectControlGroups=true | |
| # Resource limits | |
| MemoryMax=512M | |
| CPUQuota=50% | |
| [Install] | |
| WantedBy=multi-user.target | |