File size: 496 Bytes
9d4a3b0 | 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=LinkedIn professional network
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=linkedin
Group=linkedin
WorkingDirectory=/opt/linkedin/current
EnvironmentFile=/opt/linkedin/shared/.env
Environment=NODE_ENV=production
ExecStart=/usr/bin/npm run start
Restart=always
RestartSec=5
TimeoutStopSec=20
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=full
ProtectHome=true
ReadWritePaths=/opt/linkedin/shared
[Install]
WantedBy=multi-user.target
|