predator_pics/predator_pics.service

15 lines
268 B
SYSTEMD
Raw Normal View History

2024-11-13 13:36:20 +00:00
[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