- Binary output changed from 'receiptnext' to 'app' - Release assets renamed to app-linux-amd64 / app-linux-arm64 - install.sh, Makefile, README.md updated to reference 'app' - contrib/receiptnext.service uses /opt/receiptnext/app - Systemd service updated to ExecStart=/opt/receiptnext/app
25 lines
558 B
Desktop File
25 lines
558 B
Desktop File
[Unit]
|
|
Description=ReceiptNext — AI-Powered Expense Tracker
|
|
Documentation=https://git.lohmar.co.uk/cclohmar/ReceiptNext
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=receiptnext
|
|
Group=receiptnext
|
|
WorkingDirectory=/opt/receiptnext
|
|
ExecStart=/opt/receiptnext/app
|
|
Restart=always
|
|
RestartSec=5
|
|
EnvironmentFile=/opt/receiptnext/.env
|
|
StandardOutput=append:/var/log/receiptnext.log
|
|
StandardError=append:/var/log/receiptnext.log
|
|
|
|
# Security hardening
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectSystem=full
|
|
ProtectHome=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|