predator_pics/predator_pics.service

15 lines
268 B
Desktop File

[Unit]
Description=Predator Pics
After=network.target
[Service]
Type=simple
User=user_here
ExecStart=/usr/bin/ruby /path/to/server.rb
Restart=always
WorkingDirectory=/path/to/server.rb
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target