I'm trying to get my system.service file to run a command that is inside my start script. I've tried adding StandardInput= which did not work, so I believe I misunderstood how that operates. I've also tried the following unit below:
This fails, of course. How would I execute the command ./start start ?
Description=Service File
Wants=network-online.target
After=syslog.target network.target nss-lookup.target network-online.target
[Service]
User=host
WorkingDirectory=/home/host/Server/
ExecStart=/home/host/Server/start start
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target