File size: 491 Bytes
489b6e2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[Unit]
Description=Hipcamp local research replica
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
User=hipcamp
Group=hipcamp
WorkingDirectory=/srv/hipcamp/current
Environment=NODE_ENV=production
EnvironmentFile=/etc/hipcamp.env
ExecStart=/usr/local/bin/npm run start -- --hostname 127.0.0.1 --port 3000
Restart=always
RestartSec=5
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=full
ReadWritePaths=/srv/hipcamp/shared

[Install]
WantedBy=multi-user.target