9648e8ba43
* Created Storage->record_md5sums() and Storage->check_md5sums for use in daemons. These will record the md5sums of the program itself, all perl modules and the words file. When check_md5sums is called, it returns '1' if any sums have changed, which daemons can trigger on to exit (and systemd will restart them). Removed the basic md5sum check from anvil-daemon and switched to this. * Fixed how 'fatalstobrowsers' is invoked so that it only applies to programs running in a browser. Signed-off-by: Digimer <digimer@alteeve.ca>
13 lines
290 B
Desktop File
13 lines
290 B
Desktop File
[Unit]
|
|
Description=Anvil! Intelligent Availability Platform - Daemon for handling jobs that take some time to complete
|
|
Wants=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/sbin/anvil/anvil-jobs
|
|
ExecStop=/bin/kill -WINCH ${MAINPID}
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|