- Rename Go module from github.com/cclohmar/ReceiptNext to NextExpense - Update all import paths across 7 Go source files - Update templates (titles, headings, branding) - Update static files (manifest.json, sw.js, CSS) - Update config (Makefile, install.sh, .env.example) - Update README with new name and URLs - Rename service file receiptnext.service -> nextexpense.service - Update install paths, service names, log paths in install.sh
25 lines
559 B
Desktop File
25 lines
559 B
Desktop File
[Unit]
|
|
Description=NextExpense — AI-Powered Expense Tracker
|
|
Documentation=https://git.lohmar.co.uk/cclohmar/NextExpense
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=nextexpense
|
|
Group=nextexpense
|
|
WorkingDirectory=/opt/nextexpense
|
|
ExecStart=/opt/nextexpense/app
|
|
Restart=always
|
|
RestartSec=5
|
|
EnvironmentFile=-/opt/nextexpense/.env
|
|
StandardOutput=append:/var/log/nextexpense.log
|
|
StandardError=append:/var/log/nextexpense.log
|
|
|
|
# Security hardening
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectSystem=full
|
|
ProtectHome=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|