#---------------------------- #/usr/lib/systemd/system/get_archives.service #---------------------------- [Unit] Description=Get files from Repo server and store them into archives After=syslog.target After=network.target [Service] Type=simple #User=hgb #Group=hgb Restart=always ExecStart=/usr/local/bin/get_archives.py # Give a reasonable amount of time for the server to start up/shut down TimeoutSec=30 [Install] WantedBy=multi-user.target