Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@lucaswerkmeister
Created April 14, 2018 12:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucaswerkmeister/6b73329af11e9fb4aa2abde63ac4b92a to your computer and use it in GitHub Desktop.
Save lucaswerkmeister/6b73329af11e9fb4aa2abde63ac4b92a to your computer and use it in GitHub Desktop.
systemd unit file for running OpenRefine as a system service
# /etc/systemd/system/openrefine.service
[Unit]
Description=OpenRefine data reconciliation tool
Documentation=http://openrefine.org/
[Service]
ExecStart=/opt/openrefine-2.8/refine -d %S/%p -x refine.headless=true
DynamicUser=yes
NoNewPrivileges=yes
StateDirectory=%p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment