AgPerry's picture
Add files using upload-large-folder tool
489b6e2 verified
Raw History Blame Contribute Delete
491 Bytes
[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