V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  ooh  ›  全部回复第 41 页 / 共 129 页
回复总数  2569
1 ... 37  38  39  40  41  42  43  44  45  46 ... 129  
2018-12-03 21:26:28 +08:00
回复了 pheyer 创建的主题 奇思妙想 给骚扰电话放歌弱爆了,用 AI 机器人以牙还牙才是真的骚
现在我接到电话一般都要采用图灵测试了,一般我不会主动说话,对方说话后,我会问对方一个问题
2018-12-03 21:08:57 +08:00
回复了 jhytxy 创建的主题 问与答 为什么 debian 这么恶心不给用 rc.local 了
@jhytxy 程序不会骗人的,我一年至少也要重启十几次,你 rc.local 代码有问题,贴出来看看
2018-12-03 20:55:47 +08:00
回复了 jhytxy 创建的主题 问与答 为什么 debian 这么恶心不给用 rc.local 了
hulk@test:~$ cat /lib/systemd/system/rc.local.service

# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.

# This unit gets pulled automatically into multi-user.target by
# systemd-rc-local-generator if /etc/rc.local is executable.
[Unit]
Description=/etc/rc.local Compatibility
Documentation=man:systemd-rc-local-generator(8)
ConditionFileIsExecutable=/etc/rc.local
After=network.target

[Service]
Type=forking
ExecStart=/etc/rc.local start
TimeoutSec=0
RemainAfterExit=yes
GuessMainPID=no

[Install]
WantedBy=multi-user.target

hulk@test:~$ cat /etc/rc.local

#!/bin/bash
sleep 10 && mount -t vboxsf workspace /srv
exit 0

hulk@test:~$ sudo systemctl status rc-local

● rc-local.service - /etc/rc.local Compatibility
Loaded: loaded (/lib/systemd/system/rc-local.service; enabled; vendor preset: enabled)
Drop-In: /lib/systemd/system/rc-local.service.d
└─debian.conf
Active: active (exited) since Mon 2018-12-03 12:40:38 UTC; 16min ago
Docs: man:systemd-rc-local-generator(8)
Process: 1001 ExecStart=/etc/rc.local start (code=exited, status=0/SUCCESS)

Dec 03 12:40:28 test systemd[1]: Starting /etc/rc.local Compatibility...
Dec 03 12:40:38 test systemd[1]: Started /etc/rc.local Compatibility.
2018-12-03 19:59:36 +08:00
回复了 jhytxy 创建的主题 问与答 为什么 debian 这么恶心不给用 rc.local 了
@ooh 补充说明:如果发现执行成功,操作却没有执行可以 服务内的脚本 需要 sleep 一会儿
2018-12-03 19:56:42 +08:00
回复了 jhytxy 创建的主题 问与答 为什么 debian 这么恶心不给用 rc.local 了
退后一步啊,难道贴上去?😂
2018-12-02 18:40:39 +08:00
回复了 looseChen 创建的主题 问与答 你是否愿意知道你自己准确的死亡时间
别人知不知道我不知道,反正我知道我怎么也得 2100 年以后,只为体验一下跨越 3 个世纪的感觉
2018-12-01 21:03:44 +08:00
回复了 pandameng 创建的主题 分享发现 流量已经便宜到如此令人发指的地步
以前一个月 5m 流量,挂 QQ 都要挂 WAPQQ,讲究得不得了,感觉以前人都聪明点
内容图片输出即可
2018-11-27 18:43:32 +08:00
回复了 Banxiaozhuan 创建的主题 问与答 5G 之后要用得着 WIFI 吗?
5G 之后就不需要宽带了?
2018-11-27 17:51:33 +08:00
回复了 zhuzhezhe 创建的主题 生活 23 岁,得了癌症,人生无望
不要放弃,家人的陪伴很重要,他们能给你带来勇气
2018-11-27 03:12:19 +08:00
回复了 xairsky 创建的主题 Android 想买一部 4000 左右的安卓旗舰,在纠结中,求推荐。
note8
2018-11-26 16:56:13 +08:00
回复了 DXDE443 创建的主题 问与答 有用长城宽带的老哥吗?
挂梯子都不能上那肯定违背科学了,长宽我用了 4 年,还没遇到特别抓狂的时候,可能地方不一样吧。。。关键便宜。。。
2018-11-25 18:08:10 +08:00
回复了 fox0001 创建的主题 问与答 听说钛锅是最好的锅,如何入坑?
@ooh 锅是某宝上面买的陈枝记,爆炒超级有感觉!!!
2018-11-25 18:05:16 +08:00
回复了 fox0001 创建的主题 问与答 听说钛锅是最好的锅,如何入坑?
上次铁锅干烧十多分钟还 ok
2018-11-25 11:07:47 +08:00
回复了 fuxiaopang 创建的主题 优惠信息 腾讯云 2 核 8G 5M 三年上车
车门已经焊死。。。
2018-11-24 12:52:15 +08:00
回复了 ggmood 创建的主题 问与答 支付宝信用分 750 分+ 申请加拿大签证可做财力证明
以前余额宝放过 20w,资料一个没填,不用花呗,754 就没动了
1 ... 37  38  39  40  41  42  43  44  45  46 ... 129  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5161 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 44ms · UTC 08:30 · PVG 16:30 · LAX 01:30 · JFK 04:30
Developed with CodeLauncher
♥ Do have faith in what you're doing.