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