mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-22 03:04:03 +00:00
eb732e7d90
- Add comprehensive install.sh script for LXC and manual installations - Add systemd service file (pulse.service) - Add build-release.sh for creating release archives - Support for multiple architectures (amd64, arm64, armv7) - Automatic dependency installation (Go, Node.js) - User creation and permission management - Update/reinstall/remove functionality - Matches the installation experience of the original Pulse
25 lines
504 B
Desktop File
25 lines
504 B
Desktop File
[Unit]
|
|
Description=Pulse Monitoring Server
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=pulse
|
|
Group=pulse
|
|
WorkingDirectory=/opt/pulse
|
|
ExecStart=/opt/pulse/pulse
|
|
Restart=always
|
|
RestartSec=3
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
Environment="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
|
|
|
# Security hardening
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
ReadWritePaths=/opt/pulse /etc/pulse /var/lib/pulse
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |