Skip to content

Instantly share code, notes, and snippets.

@aabele
aabele / install.sh
Last active December 28, 2023 11:43
Instalēt Latvijas digitālo parakstu uz Ubuntu linux 20.10
sudo wget -qO - https://www.eparaksts.lv/files/ep3updates/debian/public.key | sudo apt-key add -
sudo apt-add-repository "deb https://www.eparaksts.lv/files/ep3updates/debian focal eparaksts"
sudo apt-get install eparakstitajs3
sudo apt-get install awp
sudo apt-get install latvia-eid-middleware
sudo apt-get install eparaksts-token-signing
@pdeschen
pdeschen / initd
Created May 12, 2013 18:10
CentOS service initd erb template. Ready to use in Opscode Chef or replace template variables with your own hard-coded value. Takes into account priority/nice, sudo user, and /etc/sysconfig/ Support start, stop, restart, console.
#!/bin/sh
#
# <%=@service%> This shell script takes care of starting and stopping
# the <%=@service%> service.
#
# chkconfig: 2345 65 35
# description: <%=@description%>
#
SERVICE=<%=@service%>