Skip to content
This repository has been archived by the owner on Jul 8, 2023. It is now read-only.

Commit

Permalink
feat: Add systemd files
Browse files Browse the repository at this point in the history
  • Loading branch information
myl7 committed Nov 8, 2021
1 parent 5bbfd9d commit 1b82501
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
7 changes: 7 additions & 0 deletions vikacg-checkin.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Unit]
Description=VikACG checkin
After=network.target network-online.target

[Service]
Type=oneshot
ExecStart=/usr/local/bin/vikacg-checkin
10 changes: 10 additions & 0 deletions vikacg-checkin.timer
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Unit]
Description=VikACG daily checkin timer

[Timer]
OnCalendar=*-*-* 17:00 Asia/Shanghai
RandomizedDelaySec=3h
Persistent=true

[Install]
WantedBy=timers.target

0 comments on commit 1b82501

Please sign in to comment.