livestream-archiver/livestream-archiver.service.example
RTSDA 6bf2eb38aa Add documentation and configuration templates
- Add comprehensive .gitignore for Rust projects
- Add MIT LICENSE file
- Add detailed README with installation and usage instructions
- Add generic service file template (livestream-archiver.service.example)
- Add generic deployment script template (deploy.sh.example)
- Keep sensitive configuration out of version control
2025-08-16 19:05:59 -04:00

16 lines
380 B
Plaintext

[Unit]
Description=Livestream Archiver Service
After=network.target
[Service]
Type=simple
User=<service-user>
Group=<service-group>
WorkingDirectory=/path/to/livestream-archiver
ExecStart=/path/to/livestream-archiver/target/release/livestream_archiver
Environment=PC_SYNC_TARGET=user@server:/path/to/destination/
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target