blob: 7afd9d9adcc219f6675de9ad728cbba782e72047 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
[Unit]
Description=Task Dashboard - Personal task aggregation dashboard
After=network.target
[Service]
Type=simple
User=www-data
Group=www-data
WorkingDirectory=/site/%i
ExecStart=/site/%i/app
Restart=always
RestartSec=5
# Environment file for secrets and configuration
EnvironmentFile=/site/%i/.env
# Security hardening
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/site/%i/data
PrivateTmp=true
[Install]
WantedBy=multi-user.target
|