Skip to content

My humble attempts to learn systemd and make services for things I use

Notifications You must be signed in to change notification settings

Himura2la/systemd

Repository files navigation

Currently I have startup scripts for the following things:

Useful commands

sudo useradd --home-dir /home/zeronet --create-home --system --shell /usr/sbin/nologin --user-group -G debian-tor zeronet

echo "[global]
ui_ip = *
ui_password = anypassword
" > /etc/zeronet.conf
chmod 600 /etc/zeronet.conf
sudo chown zeronet:zeronet /etc/zeronet.conf

cp zeronet.service /etc/systemd/system/zeronet.service
chmod 644 /etc/systemd/system/zeronet.service
sudo chown root:root /etc/systemd/system/zeronet.service

sudo systemctl daemon-reload
sudo systemctl enable zeronet.service
sudo service zeronet start
sudo service zeronet status

Thanks to these articles:

About

My humble attempts to learn systemd and make services for things I use

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages