-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixify komunix
OS
#16
Comments
ada yg kurang clear ga broski? @r17x |
@faultables directory home isinya apa aja (selain dari crontab)? |
bisa cek manual di |
@faultables disini ada banyak Desktop Documents Downloads Music Pictures Public README Templates Videos cachex duckdns komunix.org nfs nice npmx snap |
coba yang |
@faultables yang serve 2 file itu pakai service apa? |
caddy bro |
@faultables berarti gw coba mulai dengan membuat |
yesss. yang gw tahu si nix kan bisa bikin kyk "ga perlu musingin nyimpen script/binary dimana" nah better klo kita bisa pakai pendekatan itu juga, kita pakai. jadi flow (contoh, untuk cache.komunix.org) itu seperti ini: 1. caddy serve static file
|
phase 1
directory home (not sure gimana caranya)
cron (root)
* * * * * /home/komunix/cachex/gen.sh
--> klo bisa dibuat via syntax nix better* * * * * /home/komunix/npmx/gen.sh
--> klo bisa dibuat via syntax nix betterverifikasi: saat cek crontab (e.g via
cat /etc/crontab
) disitu terlihat bahwa file tersebut di manage oleh nixphase 2
/etc/systemd/system/*.service
, disitu terlihat bahwa beberapa file tersebut di manage/generate oleh nix, not sure klo bagian ufwphase 3
TBD
The text was updated successfully, but these errors were encountered: