brofi

parsoid.service

Jan 2nd, 2016
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. [Unit]
  2. Description=Mediawiki Parsoid web service on node.js
  3. Documentation=http://www.mediawiki.org/wiki/Parsoid
  4. Wants=local-fs.target network.target
  5. After=local-fs.target network.target
  6.  
  7. [Install]
  8. WantedBy=multi-user.target
  9.  
  10. [Service]
  11. Type=simple
  12. User=nobody
  13. Group=nobody
  14. WorkingDirectory=/usr/share/webapps/parsoid
  15. EnvironmentFile=-/etc/webapps/parsoid/parsoid.env
  16. ExecStart=/usr/bin/node /usr/share/webapps/parsoid/bin/server.js
  17. KillMode=process
  18. Restart=on-success
  19. PrivateTmp=true
  20. StandardOutput=syslog
Advertisement
Add Comment
Please, Sign In to add comment