You are not logged in.
I'm trying to start a script called 'sync_test1' at startup. Here is my attempt at writing a systemd unit to do the job:
[Unit]
Description=Start sync_test1
[Service]
WorkingDirectory=/home/admin
Type=simple
ExecStart=/bin/bash sync_test1 start
KillMode=process
[Install]
WantedBy=multi-user.targetHowever... it's not working. What am I doing wrong here? Thanks in advance!
Offline
What does not working mean? https://bbs.archlinux.org/viewtopic.php?id=57855
Not a Sysadmin issue, moving to NC...
Offline
This particular script uses inotifywait to watch a dir and rsyncs as soon as a file is added to the watched dir. Nothing happens... So I assume my unit is broken. BTW... This script works when started manually.
Offline
I named this script 'systemd_test.service' and put it in /etc/systemd/system of the machine that's supposed to run the script called 'sync_test1' at startup. I also ran 'systemd enable systemd_test.service'. I'm out of ideas and pretty frustrated. Can anyone help?
Offline
What does not working mean? https://bbs.archlinux.org/viewtopic.php?id=57855
What does the journal report?
Offline