For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
[Unit] | |
Description=uWSGI Emperor | |
After=syslog.target | |
[Service] | |
ExecStart=/usr/bin/uwsgi --json /etc/uwsgi/emperor.json | |
# Requires systemd version 211 or newer | |
RuntimeDirectory=uwsgi | |
Restart=always | |
KillSignal=SIGQUIT |
<?xml version="1.0" encoding="utf-8"?> | |
<configuration> | |
<packageRestore> | |
<add key="enabled" value="True" /> | |
<add key="automatic" value="True" /> | |
</packageRestore> | |
<config> | |
<add key="https_proxy" value="http://127.0.0.1:3128/" /> | |
<add key="http_proxy" value="http://127.0.0.1:3128/" /> | |
<add key="globalPackagesFolder" value="e:\Entwicklung\.nuget" /> |
[Unit] | |
Description=Gogs | |
After=syslog.target | |
After=network.target | |
#After=mysqld.service | |
#After=postgresql.service | |
#After=memcached.service | |
#After=redis.service | |
[Service] |
[Unit] | |
Description=dotnet <your service name> | |
After=network.target | |
[Service] | |
Environment=ASPNETCORE_URLS=http://127.0.0.1:5000/ | |
EnvironmentFile= | |
;Restart=always | |
;RestartSec=10 | |
Type=simple |
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ | |
/* ========================================================================== | |
HTML5 display definitions | |
========================================================================== */ | |
/** | |
* Correct `block` display not defined in IE 8/9. | |
*/ |
# init | |
autoload -U colors && colors | |
alias ls='ls --color=auto' | |
alias rm='rm -i' | |
setopt nobeep # avoid beep | |
setopt noglobdots # * shouldn't match dotfiles | |
setopt no_auto_remove_slash | |
setopt hash_list_all |
[Unit] | |
Description=MongoDB Database Server | |
After=network.target | |
[Service] | |
User=mongodb | |
Group=mongodb | |
ExecStart=/usr/bin/mongod --config /etc/mongod.conf | |
PIDFile=/var/run/mongodb/mongod.pid |
[Unit] | |
Description=FastCGI mono server 4 | |
After=network.target | |
[Service] | |
Environment=MONO_IOMAP=all | |
EnvironmentFile= | |
Type=simple | |
ExecStart=/usr/bin/fastcgi-mono-server4 /applications=*:/:/srv/www/mvc/ /socket=tcp:127.0.0.1:9000 | |
User=www-data |
# Variables | |
setenv FOO bar | |
# Settings | |
startup_message off | |
shell zsh | |
vbell off | |
defutf8 on | |
defscrollback 10000 | |
autodetach on |