parent
22cc06b543
commit
a1fd986012
@ -0,0 +1,19 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=MockGUI application server
|
||||||
|
After=syslog.target network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=alexey
|
||||||
|
Group=alexey
|
||||||
|
Environment=RACK_ENV=production
|
||||||
|
WorkingDirectory=/home/mock-gui/mock-gui
|
||||||
|
ExecStart=/home/alexey/.rvm/gems/ruby-3.3.7/bin/bundle exec /home/alexey/.rvm/rubies/ruby-3.3.7/bin/ruby app.rb
|
||||||
|
UMask=0002
|
||||||
|
RestartSec=1
|
||||||
|
Restart=on-failure
|
||||||
|
SyslogIdentifier=mockgui_server
|
||||||
|
LimitNOFILE=15360
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in new issue