mirror of
https://github.com/hak8or/proxmox_scripts.git
synced 2025-06-28 11:46:28 +00:00
Added demo ruby project and added readme.md example of using a dir instead of script.
This commit is contained in:
13
ruby_server/ruby_website.service
Normal file
13
ruby_server/ruby_website.service
Normal file
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Example Ruby website
|
||||
Requires=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=website
|
||||
Group=website
|
||||
WorkingDirectory=/var/www
|
||||
ExecStart=/usr/bin/bash -lc 'bundle exec rackup -s puma -p 9463 -o [::]'
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user