[fix] VerNum
This commit is contained in:
parent
68cedff1d9
commit
0827882bb3
30 changed files with 1651 additions and 240 deletions
|
|
@ -6,9 +6,10 @@ Requires=iota-daemon.socket
|
|||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/lib/iota/iota-daemon
|
||||
ExecStart=@IOTA_SYSTEM_DAEMON_EXECUTABLE@
|
||||
User=iota
|
||||
Group=iota
|
||||
EnvironmentFile=/etc/iota/update.env
|
||||
StateDirectory=iota
|
||||
StateDirectoryMode=0750
|
||||
Restart=on-failure
|
||||
|
|
|
|||
9
systemd/iota-update.service
Normal file
9
systemd/iota-update.service
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=Apply signed Tensamin Iota updates
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
EnvironmentFile=/etc/iota/update.env
|
||||
ExecStart=/usr/local/libexec/iota/current/bin/iota-updater apply
|
||||
11
systemd/iota-update.timer
Normal file
11
systemd/iota-update.timer
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=Check for Tensamin Iota updates daily
|
||||
|
||||
[Timer]
|
||||
OnBootSec=15min
|
||||
OnUnitActiveSec=24h
|
||||
RandomizedDelaySec=1h
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Loading…
Reference in a new issue