
- Remove livestream-archiver.service with hardcoded usernames and domains - Add livestream-archiver.service.example as generic template - Add actual service file to .gitignore to prevent accidental commits - Users should copy .example file and customize for their setup
16 lines
380 B
Plaintext
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 |