creating test.service to try passing command line arguments to service

pull/42/head
alanbjohnston 6 years ago committed by GitHub
parent 5e170d6f64
commit f8561155dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,14 @@
[Unit]
Description=Test service
[Service
Environment="SCRIPT_ARGS=%I"
ExecStart=/home/pi/CubeSatSim/radioafsk $SCRIPT_ARGS
WorkingDirectory=/home/pi/CubeSatSim
StandardOutput=inherit
StandardError=inherit
Restart=always
User=root
[Install]
WantedBy=default.target
Loading…
Cancel
Save

Powered by TurnKey Linux.