Created
April 19, 2017 15:29
-
-
Save botic/a4950d4f0bdd7d2b65dc818c5d363e4e to your computer and use it in GitHub Desktop.
RingoJS Unit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=RingoJS App | |
| After=syslog.target network.target remote-fs.target nss-lookup.target | |
| [Service] | |
| Type=simple | |
| WorkingDirectory=/usr/local/ringojs-apps/my-app-dir/ | |
| ExecStart=/usr/bin/ringo --production -Dringo.home=/usr/share/ringojs -J-server -Djava.awt.headless=true \ | |
| -J-Xms256M -J-Xmx256M -J-Xbootclasspath/p:/usr/share/ringojs/lib/js.jar \ | |
| -m /usr/local/ringojs-apps/my-app-dir/packages/ \ | |
| /usr/local/ringojs-apps/my-app-dir/main.js | |
| Restart=on-failure | |
| LimitNOFILE=10000 | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment