services/tmptsync: set FILE and fix shebang
This commit is contained in:
parent
0806e9ec72
commit
72bbc39ce7
2 changed files with 3 additions and 1 deletions
|
|
@ -10,11 +10,13 @@ in
|
|||
after = [ "local-fs.target" "sysinit.target" ];
|
||||
unitConfig.DefaultDependencies = false;
|
||||
|
||||
environment.FILE = dir;
|
||||
script = "${../../scripts/tmptsync.sh} load";
|
||||
wantedBy = [ "basic.target" ];
|
||||
};
|
||||
|
||||
tmptsync-save = {
|
||||
environment.FILE = dir;
|
||||
script = "${../../scripts/tmptsync.sh} load";
|
||||
wantedBy = [ "basic.target" ];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env sh
|
||||
#!/bin/sh
|
||||
#
|
||||
# Super simple script that saves clock to file and reads from it later
|
||||
# Something like fake-hwclock from debian
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue